Well, syllables are language dependent, so let's suppose for the moment that you are ONLY working with English, the, presumably, you can set up vowels as item-delimiters: although you might get a bit mixed up with words sucj as 'beautiful' which, while having 5 vowels only has 3 syllables.
Basically you have to work out how to detect V+C and open vowels at the end of words. On 20.03.22 19:41, Rick Harrison via use-livecode wrote:
I’m working on a project that requires an LC program to count the number of syllables in a paragraph. I don’t want to have to re-invent the wheel here if there is an existing solution to the problem. If not, what are all the rules I need to check? Suggestions? Thanks, Rick _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode