From baeb0e1fa08fb6b21e4a22458de16b4948d1f2d0 Mon Sep 17 00:00:00 2001 From: "Clayton G. Hobbs" Date: Sun, 3 Jul 2016 21:18:23 -0400 Subject: 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. --- kayleevc/numbers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kayleevc') diff --git a/kayleevc/numbers.py b/kayleevc/numbers.py index cb52728..be0036f 100644 --- a/kayleevc/numbers.py +++ b/kayleevc/numbers.py @@ -42,7 +42,7 @@ class NumberParser: tens = { 'twenty': 20, 'thirty': 30, - 'fourty': 40, + 'forty': 40, 'fifty': 50, 'sixty': 60, 'seventy': 70, -- cgit 1.4.1