ftp://ludwig.pharm.uic.edu/pub/predict-syllables.lisp
I know it fails on embedded silent "e" as in "pacemaker", and it probably
fails on some other two-vowel combinations.
It ain't pretty or fast, and I make no guarantees, etc. Do with it what you
will. Since there's some interest, I'll post some accuracy data from a list
of about 8000 generic drug names. Unfortunately, the names themselves come
from a licensed database, so I cannot share them.
-bruce
P.S. Bill Fisher's code sounds much more impressive.
Bruce Lambert, PhD
Department of Pharmacy Administration
University of Illinois at Chicago
833 S. Wood St. (M/C 871)
Chicago, IL 60612-7231
phone: 312-996-2411
fax: 312-996-0868