number-parser
number-parser copied to clipboard
Parse numbers written in natural language
Number parser example  can we make that 1 as 1st . Something like this 🤔 
I think it could be really cool to add an optional parameter to ignore some words. Example: ```python >>> parse('twenty one') '21' >>> parse('twenty one', ignore=["one"]) '20 one' ``` or...
Languages without delimiters - Japanese and Chinese (Simplified, Traditional) and possibly other east Asian languages don't have any delimiter. eg) 九千九百九十九 (9999 in Japanese). These actually have a very similar...
So one of the use cases I think could be parsing phone numbers or zip codes. These might be written in the form of ```two three zero two five eight```...
I open this ticket to track the ordinal's feature. From my understanding, what we should achieve is: ```python >>> parse('first') '1st' >>> parse('second') '2nd' >>> parse('third') '3rd' >>> parse('twenty-third') '23rd'...
Enhacing library I have made changes in the base structure of the files to support ordinals.
I looked at German/French and both have some idiosyncrasies which needs to be handled. For French, using ```quatre-vingt``` for 80 and then allowing numbers from 1 to 19 as the...
Opening a new ticket for adding support for decimal and negative numbers. More details for the same discussed [here](https://github.com/arnavkapoor/number-parser/pull/9#discussion_r442400344). Expected outcomes ``` > parse("he scored fifty three point six percent...