Procházet zdrojové kódy

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 před 7 roky
rodič
revize
baeb0e1fa0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      kayleevc/numbers.py

+ 1
- 1
kayleevc/numbers.py Zobrazit soubor

@@ -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…
Zrušit
Uložit