Skip to content

Commit

Permalink
Move wer scripts into dedicated dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Cochrane committed Nov 9, 2023
1 parent 4282586 commit b25a6ad
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions metrics/normalizers/__init__.py

This file was deleted.

File renamed without changes.
Empty file added metrics/wer/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion metrics/wer.py → metrics/wer/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import argparse

from jiwer import compute_measures, cer
from metrics.normalizers import BasicTextNormalizer, EnglishTextNormalizer
from metrics.wer.normalizers import BasicTextNormalizer, EnglishTextNormalizer


def load_file(path: str) -> str:
Expand Down
File renamed without changes.
Empty file.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -1738,4 +1738,4 @@
"yoghurts": "yogurts",
"mhm": "hmm",
"mmm": "hmm"
}
}
File renamed without changes.

0 comments on commit b25a6ad

Please sign in to comment.