README 642 B

123456789101112131415
  1. perl-Linuga-EN-Syllable
  2. Lingua::EN::Syllable::syllable() estimates the number of syllables in
  3. the word passed to it.
  4. Note that it isn't entirely accurate... it fails (by one syllable) for
  5. about 10-15% of my /usr/dict/words. The only way to get a 100% accurate
  6. count is to do a dictionary lookup, so this is a small and fast
  7. alternative where more-or-less accurate results will suffice, such as
  8. estimating the reading level of a document.
  9. I welcome pointers to more accurate algorithms, since this one is
  10. pretty quick-and-dirty. This was designed for English (well, American
  11. at least) words, but sometimes guesses well for other languages.