At 09:08 16/05/2002 -0600, Sean M. Burke wrote: >At 09:23 2002-05-16 +0200, Lee Goddard wrote: >>1. Get a rhythm from a phrase (the title) and use it throughout. >> Impossible without knowing where in a word the accent falls, >> and there is no formula in English. But I have a plan, involving >> the use of the apostrophes used in (good) dictionaries to mark >> stress --- if it's not in my rhyming dictionary module then I'll >> put together a module to read my OED CD-ROM. > >I think the Moby Pronunciator marks stress passably well: >http://www.dcs.shef.ac.uk/research/ilash/Moby/ > >In fact, I wrote a bit of simple code for dealing with it, for a TPJ >article a while back. The code is here: >http://www.speech.cs.cmu.edu/~sburke/mpron/ >And I'm told that that article will appear in the /Games, Diversions, & >Perl Culture: Best of The Perl Journal/ volume that O'Reilly will have out >in... three months maybe? It's elementary text handling, nothing you >couldn't infer from just looking at the code there and at the format of >the Moby Pronunciator files.
Looks cool - thanks for the tip. Hope it has an English accent...! PS Glad you're still talking to me ;-) lee Lee Goddard perl -e "while(1){print rand>0.5?chr 47:chr 92}"