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

Error case: seven two five #45

Open
JMante1 opened this issue Sep 17, 2019 · 2 comments
Open

Error case: seven two five #45

JMante1 opened this issue Sep 17, 2019 · 2 comments

Comments

@JMante1
Copy link

JMante1 commented Sep 17, 2019

For some reason when I put in seven two five it outputs 19 rather than 725 or an error.

@bobbintb
Copy link

Same here. It's not even that it adds up either. I tried "The Taking of Pelham One Two Three" and it returns 5.

I am using it for movie titles. It seems when the number words are separated by non-number words, it adds.
Seven Brides for Seven Brothers
14

Thirteen Going on Thirty
43

If they are individualized (ie "seven two five" instead of "seven hundred and twenty five") it does something else entirely.

@akshaynagpal
Copy link
Owner

Thanks for pointing this out. I will look into this ASAP.

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

No branches or pull requests

3 participants