scrapinghub / number-parser

Parse numbers written in natural language
BSD 3-Clause "New" or "Revised" License
104 stars 23 forks source link

Mixing between digits and character number #65

Open MarwaMohammad opened 3 years ago

MarwaMohammad commented 3 years ago

Thank you for your package: but there is a case which wasn't handled, the case of mixing the numbers and characters.

I tried this: 1- print(parse_number("2.4 million")) It gives None

2- parse_ordinal("2.4 million") It gave None

3- parse("2.4 million") It gave me : 2.4 1000000

My expectation is to give me 2400000 or 2.4*10**6

kailash360 commented 2 years ago

@Gallaecio, can I work on this issue?

Gallaecio commented 2 years ago

@kailash360 Please, go ahead!