瀏覽代碼

Fixed recognition of "forty"

I spelled it "fourty", which tricks the lmtool into making it much
harder to recognize the word.  Now it's spelled "forty", which makes it
much easier to understand.
Clara Hobbs 7 年之前
父節點
當前提交
baeb0e1fa0
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      kayleevc/numbers.py

+ 1
- 1
kayleevc/numbers.py 查看文件

@@ -42,7 +42,7 @@ class NumberParser:
42 42
     tens = {
43 43
         'twenty': 20,
44 44
         'thirty': 30,
45
-        'fourty': 40,
45
+        'forty': 40,
46 46
         'fifty': 50,
47 47
         'sixty': 60,
48 48
         'seventy': 70,

Loading…
取消
儲存