MikeHopcroft / ShortOrder

A natural language conversational agent for ordering and organizing items from a catalog.
MIT License
13 stars 7 forks source link

NumberRecognizer loses underlying text. #9

Closed MikeHopcroft closed 5 years ago

MikeHopcroft commented 5 years ago

The current implementation of the number recognizer loses the underlying text because of the way it uses the words-to-numbers package. As an example, the text, I have twenty three marbles will report 23 as the underlying text for the numerical token, instead of twenty three.