Open ycchhueannu opened 2 years ago
In my opinion the followings should not be treated as number.
>>> from word2number import w2n >>> w2n.word_to_num('at least five million.') 5 >>> w2n.word_to_num('ten years later') 10 >>> w2n.word_to_num('two men and three women') 5
print(w2n.word_to_num('2 million')) 1000000
In my opinion the followings should not be treated as number.