dmort27 / epitran

A tool for transcribing orthographic text as IPA (International Phonetic Alphabet)
MIT License
630 stars 121 forks source link

Stress and syllables splitting #124

Closed umaxfun closed 2 years ago

umaxfun commented 2 years ago

Hey,

Given a word ‘Scheinselbständigkeit’, Epitran transforms it to 'ʃaɪnsɛlbstæːndɪkkait’.

And I need the result as [‘ʃaɪn’, ‘sɛlb’, ‘stæːn’, ‘dɪk’, ‘kait’] and somehow detect where the stress should be (at ‘ʃáɪn’ I think)

Is there a quick way to split the result into syllables and add stress?

dmort27 commented 2 years ago

At present, there is no quick way of doing this.