Hi Amy,
You can't get round the lookup I think.
see
http://www.clres.com/Spoken%20Language%20Corpora.html
for online syllable dictionaries
For the 'reasonable guess', you can use
this perl module:
http://search.cpan.org/dist/Lingua-EN-Syllable/Syllable.pm
Best
Viktor
On Thu, 7 Apr 2005 19:32:03 +0100 (BST), Amy Isard <amyi@inf.ed.ac.uk>
wrote:
> Hi,
>
> Does anyone have a script which will take a text file of space
> separated words and output a syllable count, preferably based on
> dictionary lookup with a fallback to a reasonable guess for unknown
> words?
>
> I have the CMU pronouncing dictionary, and I could write one myself
> but if someone else has already done it ...
>
> Thanks,
>
> Amy
>
>
>
This archive was generated by hypermail 2b29 : Thu Apr 07 2005 - 22:52:15 MET DST