numerizer
numerizer copied to clipboard
A Python module to convert natural language numerics into ints and floats.
Is it possible to handle other languages as well with spacy?
**Problem:** We have been using spaCy along with the numerize extension successfully to extract money amounts in string format and convert them into integers. However, after upgrading from spaCy version...
Hello, I am using numerizer directly from pip install. I guess one of the features is convertion every mention of 'a' in my text to 1 even if its not...
>>numerize('2B/2B') Output: '2B1/2B'
print(numerize('twenty thousand two hundred one one - test one hundred - one one')) output: 20202 - test 100 - 1 1 The output should be either adding them or writing...
This should only happen with weirdly formatted text, but this stops it from crashing.
When using the spacy integration, an improperly transcribed piece of text caused the parsing to fail. In this case it was "y. Million" (should have been "why millions"). This had...