slackbuilds_ponce/perl/perl-Lingua-EN-Syllable
B. Watson fa2a00996b
perl/perl-Lingua-EN-Syllable: Fix slack-desc.
Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2023-06-23 07:48:09 +07:00
..
perl-Lingua-EN-Syllable.info
perl-Lingua-EN-Syllable.SlackBuild
README
slack-desc

perl-Linuga-EN-Syllable

Lingua::EN::Syllable::syllable() estimates the number of syllables in
the word passed to it.

Note that it isn't entirely accurate... it fails (by one syllable) for
about 10-15% of my /usr/dict/words. The only way to get a 100% accurate
count is to do a dictionary lookup, so this is a small and fast
alternative where more-or-less accurate results will suffice, such as
estimating the reading level of a document.

I welcome pointers to more accurate algorithms, since this one is
pretty quick-and-dirty. This was designed for English (well, American
at least) words, but sometimes guesses well for other languages.