diff --git a/gourmet/convert.py b/gourmet/convert.py index 1cfb6c227..922c33778 100644 --- a/gourmet/convert.py +++ b/gourmet/convert.py @@ -644,7 +644,8 @@ def integerp (num, approx=0.01): lambda x,y: ((len(y)>len(x) and 1) or (len(x)>len(y) and -1) or 0) ) -NUMBER_WORD_REGEXP = '|'.join(all_number_words).replace(' ','\s+') +#NUMBER_WORD_REGEXP = '|'.join(all_number_words).replace(' ','\s+') +NUMBER_WORD_REGEXP = None FRACTION_WORD_REGEXP = '|'.join(filter(lambda n: NUMBER_WORDS[n]<1.0, all_number_words) ).replace(' ','\s+')