richmondmathewson at gmail.com
Sun Mar 20 15:57:08 EDT 2022
Frankly I'd go for isolated vowels (I, A), Vowel+ Consonant (In, On,
An), and Consonant+ Vowel (La, Lo, Fi), you
also have a problem with the semi-vowel Y, and the semi-vowel U ( 'yu'
as un Union, and 'u' as in Utter).
This is pretty impressive: https://syllablecounter.net/count
I gave it 'Beautiful aesthetic foetuses' and it came up, correctly, with
9 syllables . . . the Q is what's the code:
probably time to download the webpage and poke around a bit.
On 20.03.22 21:12, Colin Holgate via use-livecode wrote:
> 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 at 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?
>>> On Mar 20, 2022, at 2:29 PM, Richmond via use-livecode <use-livecode at 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 at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode