words-to-numbers icon indicating copy to clipboard operation
words-to-numbers copied to clipboard

Strings converted incorrectly

Open KalebMills opened this issue 5 years ago • 2 comments

The current issue we are seeing is ....words 10 a.m being converted to 10 1.m.

KalebMills avatar Sep 04 '19 16:09 KalebMills

I also just ran into this problem. It looks like the letter A is always being converted to 1, which I don't think is correct. I could see it making sense as a feature when fuzzy is enabled. In the example, it is "a hundred" -> 100, when the logic should probably be "hundred" -> 100.

pjryan93 avatar Sep 04 '19 20:09 pjryan93

Yep. We ended up forking the repo to manage our own version. I'm not sure if this is a good assumption for the code base to make, since I think you can still safely assume the outcome they are trying to get, without using a

KalebMills avatar Sep 16 '19 15:09 KalebMills