Fix bug where mm is mistakenly replaced with hmm in e.g. 20mm (#659)

Co-authored-by: Jong Wook Kim <jongwook@nyu.edu>
This commit is contained in:
Markus HennerbichlerandJong Wook Kim authored and GitHub committed 2023-01-18 10:41:11 -08:00
1 parent 8135a7c31c
commit ea1c266709
2 files changed
+1 -1

No files matched your search

+1
View File
@@ -84,6 +84,7 @@ def test_text_normalizer():
assert std("he's like") == "he is like"
assert std("she's been like") == "she has been like"
assert std("10km") == "10 km"
assert std("10mm") == "10 mm"
assert std("RC232") == "rc 232"
assert (
-1
View File
@@ -1737,6 +1737,5 @@
"yoghurt": "yogurt",
"yoghurts": "yogurts",
"mhm": "hmm",
"mm": "hmm",
"mmm": "hmm"
}