Skip to content

Undercounting syllables  #43

@mshenton75

Description

@mshenton75

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions