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.