summaryrefslogtreecommitdiffstats
path: root/perl/perl-Lingua-EN-Syllable/README
diff options
context:
space:
mode:
author Nikos Giotis <nikos.giotis@gmail.com>2018-02-11 11:46:06 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-02-17 07:42:52 +0700
commit0a451da7466c09920026949916f84df4290a3698 (patch)
treef9a5fe8e32ac2dfd29929baf0c064947ad2dca05 /perl/perl-Lingua-EN-Syllable/README
parent96d157767d206ea07aae5a43a372df0dbdb1f63f (diff)
downloadslackbuilds-0a451da7466c09920026949916f84df4290a3698.tar.gz
slackbuilds-0a451da7466c09920026949916f84df4290a3698.tar.xz
perl/perl-Lingua-EN-Syllable: Added (short description of app).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl/perl-Lingua-EN-Syllable/README')
-rw-r--r--perl/perl-Lingua-EN-Syllable/README14
1 files changed, 14 insertions, 0 deletions
diff --git a/perl/perl-Lingua-EN-Syllable/README b/perl/perl-Lingua-EN-Syllable/README
new file mode 100644
index 0000000000..1376a06690
--- /dev/null
+++ b/perl/perl-Lingua-EN-Syllable/README
@@ -0,0 +1,14 @@
+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.