Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle numbers like one twenty two -> 122 #48

Open
richiefeng opened this issue Jun 24, 2020 · 1 comment
Open

Handle numbers like one twenty two -> 122 #48

richiefeng opened this issue Jun 24, 2020 · 1 comment

Comments

@richiefeng
Copy link

Currently it's not able to handle those numbers that are spelled in a spoken way

@vadakattu
Copy link

Just throwing this date example here as it seemed like the closest issue, and a common enough case that others might search for it:

from word2number import w2n
w2n.word_to_num('nineteen ninety six')
1716

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants