In Spanish, syllabic separation is a bit more complicated, since many words have vowels with accent marks.
I have used this JavaScript code to get the Spanish syllables:
https://github.com/nicofrem/silabajs/blob/master/silabajs.js
Syllables_Divide_v2.aia (8.6 KB)
BTW, what is the hyphenation of the word ridiculous, ri-di-cu-lous or ri-dic-u-lous?
https://www.silabas.net/index-en.php?lang=%2Findex-en.php&p=ridiculous&button=Hyphenation
