mathparse icon indicating copy to clipboard operation
mathparse copied to clipboard

can't caculate 'one hundred times fifty four' correctly?

Open 12ycli opened this issue 7 years ago • 2 comments

The following line doesn't get the right answer. ret = mathparse.parse('one hundred times fifty four', language='ENG') I found that function replace_word_tokens in mathparse.parse goes wrong.Take one hundred times fifty four for example,we expect get '(1 * 100) * (50 + 4)' but get '(1 * 100) * (50 4)'.There is always a '+' missing when it comes to situations like 'twenty two','thirty three' and etc.

12ycli avatar May 02 '18 07:05 12ycli

Hi ! has this issue been resolved ? Or can I pick up this issue to work on it.

BalasubramanyamEvani avatar May 15 '19 05:05 BalasubramanyamEvani

Hi @BalasubramanyamEvani, this hasn't been resolved yet. Any help in fixing this issue would be greatly appreciated. I apologize that I haven't been able to find the time to thoroughly dig into this to come up with a solution.

gunthercox avatar May 18 '19 16:05 gunthercox