Open Krozark opened 3 years ago
The current algorithm is unable to make the difference between the number ("one day") and the pronoun ("the one, each one, another one, this one, etc…"). In French it can't do the difference between "un" (number) = "one" and "un" (article) = "a" or "un" pronoun ("j'en veux un"). So, for such words, we don't replace by default, except if another number is next (see unit tests).
Ok, that make sens. Thanks for you reply. Maybe an option to force the replace for those cases could be added
Yes. Let's tag this as feature request then.
The lib is pretty cool, but I find a bug with a particular sentence:
Expected : "1 day"
The same is true in french (initial test in fact)