This post goes over some techniques: https://mholtzscher.github.io/2018/05/29/syllables/ <https://mholtzscher.github.io/2018/05/29/syllables/>
> On Mar 20, 2022, at 12:51 PM, Rick Harrison via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Hi Richmond, > > Yes, English. Sorry I forgot to be specific, I thought it was implied. > > Yes, I have been counting vowels, but there appear to be a lot of exceptions, > so there must be a lot more rules. > > I need to know what all the rules are to make it work if possible. > > There are websites out there on the internet that will count > syllables in whatever text given to them so it must be possible. > How are they doing it? Is it an algorithm ,or are they comparing > the words to a database table that has all the dictionary information? > > Thanks, > > Rick > > >> On Mar 20, 2022, at 2:29 PM, Richmond via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> 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. > > _______________________________________________ > 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