mirror of
https://github.com/openai/whisper.git
synced 2025-03-30 14:28:27 +00:00
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:
parent
8135a7c31c
commit
ea1c266709
@ -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 (
|
||||
|
@ -1737,6 +1737,5 @@
|
||||
"yoghurt": "yogurt",
|
||||
"yoghurts": "yogurts",
|
||||
"mhm": "hmm",
|
||||
"mm": "hmm",
|
||||
"mmm": "hmm"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user