Skip to content

New features for mapping and voting

Compare
Choose a tag to compare
@desh2608 desh2608 released this 06 Mar 15:19
· 25 commits to master since this release
6896e97

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 of argparse.
  • New module for label mapping methods: GreedyMap and HungarianMap.
  • Type hinting now used throughout the codebase.