wq2012/SimpleDER

A lightweight library to compute Diarization Error Rate (DER).

56
/ 100
Established

Supports overlapped speech detection and uses the Hungarian algorithm for optimal speaker-to-speaker assignment between reference and hypothesis annotations. The implementation applies optional collar-based boundary smoothing and computes DER via a mathematically equivalent "Load-Match" formulation that accounts for varying numbers of simultaneous speakers. Integrates with `scipy.optimize.linear_sum_assignment` and provides a minimal Python API accepting speaker diarization segments as tuples of (speaker_id, start_time, end_time).

Available on PyPI.

No Dependents
Maintenance 10 / 25
Adoption 14 / 25
Maturity 18 / 25
Community 14 / 25

How are scores calculated?

Stars

62

Forks

9

Language

Python

License

Apache-2.0

Last pushed

Jan 14, 2026

Monthly downloads

611

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/voice-ai/wq2012/SimpleDER"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.