Releases: desh2608/dover-lap
Releases · desh2608/dover-lap
More sensible defaults
What's Changed
- Fix input DER bug in hungarian.py by @damian-romero in #11
- remove spy-der strict version by @DTDwind in #13
- Changes for version 1.2 by @desh2608 in #14
- Remove
--tie-breaking
CLI option. For tie-breaking, use theall
method by default. It makes more sense and has shown better performance. - Use spyder for label mapping instead of scipy.
- Remove unused imports.
- Vectorize implementation of average voting --> should make it a little faster.
- Remove
- More changes for v1.2 by @desh2608 in #15
- Remove
--sort-first
CLI option. Use it as default if--label-mapping hungarian
is used. See PR for DER improvements.
- Remove
Voting methods
We have restructured the code so that it should be easier to add more voting methods in future (similar to how we have several mapping methods). One motivation for this is the unresolved issue here: #2.
New Contributors
- @damian-romero made their first contribution in #11
- @DTDwind made their first contribution in #13
Full Changelog: v1.0.0...v1.2.0
New features for mapping and voting
New features (#9, #6)
- New DOVER-style label mapping option now supported which uses pair-wise Hungarian. Usage example:
dover-lap rttm_out rttm_in* --label-mapping hungarian --sort-first
The --sort-first
flag optionally sorts the inputs by average DER before applying the mapping.
- Support for custom weights through
--custom-weight
option - New tie-breaking option:
--tie-breaking [all|uniform] (default:all)
to assign ties to all speakers instead of dividing uniformly. - Scoring is now based on
spyder
, and the md-eval.pl script has been removed.
Bug fixes
- Handling 2 input case which was earlier failing (#5)
- Fixed floating-point comparison which was causing different outputs when input RTTMs were ordered differently.
Code refactor (#7)
click
is now used for CLI arguments instead ofargparse
.- New module for label mapping methods:
GreedyMap
andHungarianMap
. - Type hinting now used throughout the codebase.
Original DOVER-Lap
Original code release for DOVER-Lap. Provides greedy label mapping and overlap-aware label voting.