I am trying to come up with a way to divide French words into syllables, phonemes, morphemes, or any other individually pronounceable/meaningful sub-unit in order to model word corruption in expressive aphasia.
I am looking for a way to automate the process of dividing words into syllables. This can be an algorithm that implements some rule system of syllabification, or a pre-made lookup table of french words along with their syllables in some clear format (something like
élément -> é.lé.ment; méchant -> mé.chant; ...).
What I could find:
I was able to download syllable counts from this Wiktionary page, which was enormously helpful, but it would be much better if I can use the syllabic form of the word directly. My research could not yield a publicly available dataset for French syllables (or phonemes, morphemes), nor the code for any algorithm that can be used to generate them (or a public API for one of the online tools that do).