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.
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 report23
as the underlying text for the numerical token, instead oftwenty three
.