I hope I'll be forgiven this slightly OT question... it is more related to Linguistics than Perl, actually.
I am looking for a good solution to split up German text into its syllables. I found Tex::Hyphen, which can deal with German texts, but it doesn't mention the new German spelling. Does that module seem to give reasonable results, or are there better solutions out there?
Also, I'm trying to attach a "length" to these syllables (e.g. "Maß" is longer than "Hass"). I'm not a linguist, so I just thought I might try to look for certain patterns and attach weights to them. E.g. a syllable with "ie" will be counted "long", a syllable with "ss" will be counted short (using the new German spelling). Does anybody know a comprehensive list of German syllables with such "weights", or a better approach for this problem? (The "weights" don't need to be 100% accurate; I want to use them for music generation.)
In reply to Splitting text into syllables by crenz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |