Skip to content

Commit

Permalink
Update audmetric/core/api.py
Browse files Browse the repository at this point in the history
Co-authored-by: Hagen Wierstorf <hwierstorf@audeering.com>
  • Loading branch information
ChristianGeng and hagenw authored Dec 11, 2024
1 parent 90564b7 commit f3ea704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audmetric/core/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1201,8 +1201,8 @@ def word_error_rate(
of each (truth, prediction)-pair is computed
as the edit distance divided by a normalization factor n.
This represents the average editing cost per sequence item.
The value of n depends on the ``norm`` parameter.
If ``norm`` is ``"truth"``,
n is set to the reference (truth) length,
following the Wikipedia formulation.
Expand Down

0 comments on commit f3ea704

Please sign in to comment.