number-parser icon indicating copy to clipboard operation
number-parser copied to clipboard

Parse numbers written in natural language

Results 19 number-parser issues
Sort by recently updated
recently updated
newest added

Number parser example ![number parser](https://user-images.githubusercontent.com/72031540/111918019-0ac94200-8aa9-11eb-8a2d-505329a4aed0.PNG) can we make that 1 as 1st . Something like this 🤔 ![np2](https://user-images.githubusercontent.com/72031540/111918053-495efc80-8aa9-11eb-87b0-f81234e2f39c.PNG)

enhancement

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...

enhancement

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```...

enhancement

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'...

enhancement

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...