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

Oneway is three syllables instead of 2 #50

Open
nduc opened this issue Jun 15, 2021 · 0 comments
Open

Oneway is three syllables instead of 2 #50

nduc opened this issue Jun 15, 2021 · 0 comments

Comments

@nduc
Copy link

nduc commented Jun 15, 2021

I think it's because of

// Count multiple consonants.
parts = value.split(/[^aeiouy]+/)

and ay is counted as a vowel split, so we ended up with
parts [ 'o', 'e', 'ay' ]

There's no consonant before the o.

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