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

Undercounting syllables #43

Open
mshenton75 opened this issue Sep 15, 2023 · 0 comments
Open

Undercounting syllables #43

mshenton75 opened this issue Sep 15, 2023 · 0 comments

Comments

@mshenton75
Copy link

I was using this gem to calculate Flesch reading scores, and noticed some discrepancies between the scores returned here versus other online tools (like this one). In investigating, it appears the syllable_count method in this library undercounts syllables.

Example (correct syllable count is 11):

[7] pry(main)> TextStat.syllable_count("The quick brown fox jumped over the lazy dog")
=> 9
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