1
0
mirror of https://github.com/malarinv/plume-asr.git synced 2026-03-08 04:12:35 +00:00

1. fixed nty-num type spellcheck issue

2. added tests for the same
3. remove [infer] optional subsumes [eval]
This commit is contained in:
2021-06-08 17:45:09 +05:30
parent af51fe95cb
commit 4bca2097e1
4 changed files with 42 additions and 9 deletions

View File

@@ -15,3 +15,12 @@ def test_infer_num():
repl("SIX NINE FSIX EIGHT IGSIX SIX NINE NINE THRE ZERO TWO SEVEN ONE")
== "6968669930271"
)
assert (
repl("FORTY-TWO SEVEN SIXTY-FOUR SEVEN THREE FIVE U OH FOUR SIX")
== "42764735046"
)
assert (
repl("FORTY-TWO SEVEN SIXTY-FOUR SEVEN THREE FIVE U OH FOUR SIX")
== "42764735046"
)