Details and Options
ResourceFunction["WordPhoneticSyllabify"] places a bullet character • between each syllable.
ResourceFunction["WordPhoneticSyllabify"] takes the following option:
| Stress | "Phonetic" | whether to mark primary and secondary stress ( ˈ and ˌ ) for phonetics, or on and off beats ( ↑ and ↓ ) for poetic meter. |
The "Stress" option, when set to "Metric", changes the phonetic part of the output from having primary and secondary stress marks (ˈ and ˌ) common in phonetics, to having marks for stressed and unstressed syllables (↑ and ↓) for the analysis of poetic meter.
ResourceFunction["WordPhoneticSyllabify"] divides syllables first by morphology, as in {dis•arm, dɪs•ˈɑrm},and then by the Maximal Onset Principle, as in {a•larm, ə•lˈɑrm}.
ResourceFunction["WordPhoneticSyllabify"] is case-insensitive and returns results in lower case.
The second item of the output consists of phonetic symbols, some of which can be confused with keyboard characters including ɡ (LatinSmallLetterScriptG), ˈ (ModifierLetterVerticalLine), and ˌ ("ModifierLetterLowVerticalLine").
Phonetic output of
ResourceFunction["WordPhoneticSyllabify"][w] is General American English in a style compatible with
WordData[w,"PhoneticForm"], even if
w is not English or includes characters that are not part of the English alphabet.
ResourceFunction["WordPhoneticSyllabify"] has the attribute
Listable.