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

Number combinations that don't make sense should throw exception #75

Open
pandoman opened this issue Mar 7, 2023 · 0 comments
Open

Comments

@pandoman
Copy link

pandoman commented Mar 7, 2023

When you process a string of "numeric" text, w2n returns an incorrect value rather than throw an exception. For example, the string "ten thirty" (imho) should throw an exception because nobody (in the English speaking world) specifies a number using those words. This would be useful when processing a string that, for example, includes time and "ten thirty" should be considered two separate numbers.

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

1 participant