Skip to content

Releases: desh2608/dover-lap

More sensible defaults

16 Apr 15:51
00c77b7
Compare
Choose a tag to compare

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 the all 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.
  • 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.

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

Full Changelog: v1.0.0...v1.2.0

New features for mapping and voting

06 Mar 15:19
6896e97
Compare
Choose a tag to compare

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.

Original DOVER-Lap

06 Mar 14:58
6896e97
Compare
Choose a tag to compare

Original code release for DOVER-Lap. Provides greedy label mapping and overlap-aware label voting.