jerivl / Deepcut

A robot that raps
Apache License 2.0
1 stars 1 forks source link

Combine phonemes to syllables #1

Closed jerivl closed 3 years ago

jerivl commented 3 years ago

Issue: Montreal force alligner gives the textgrid output with phoneme locations or word locations in time. Need syllables.

Task: Create a function that combines phoneme time intervals in textgrid to create syllable time intervals.

Desired input: Given a filepath to a textgrid file generated by montreal-force-alligner

Desired output: Create an interval tier in the textgrid file called "syllables" with these combined intervals

Recommended: Use interval trees here For a list of english phonemes: use the librispeech lexicon (see issue: "Get list of phonemes from librispeech lexicon") For a list of english syllables and their composing phonemes: http://web.archive.org/web/20160822211027/http:/semarch.linguistics.fas.nyu.edu/barker/Syllables/index.txt