diff --git a/pysle/praattools.py b/pysle/praattools.py index 421b716..d15f0c8 100644 --- a/pysle/praattools.py +++ b/pysle/praattools.py @@ -114,7 +114,7 @@ def syllabifyTextgrid(isleDict, tg, wordTierName, phoneTierName, # Create a textgrid with the two syllable-level tiers syllableTier = tgio.IntervalTier("syllable", syllableEntryList) tonicSTier = tgio.IntervalTier('tonicSyllable', tonicSEntryList) - tonicPTier = tgio.IntervalTier('tonicPhone', tonicPEntryList) + tonicPTier = tgio.IntervalTier('tonicVowel', tonicPEntryList) syllableTG = tgio.Textgrid() syllableTG.addTier(syllableTier) diff --git a/test/syllabifyTextgrid.py b/test/syllabifyTextgrid.py index 9405a88..17e9b83 100644 --- a/test/syllabifyTextgrid.py +++ b/test/syllabifyTextgrid.py @@ -30,7 +30,7 @@ syllableTG = praattools.syllabifyTextgrid(isleDict, tg, "word", "phone", skipLabelList=["",]) tg.addTier(syllableTG.tierDict["syllable"]) tg.addTier(syllableTG.tierDict["tonicSyllable"]) -tg.addTier(syllableTG.tierDict["tonicPhone"]) +tg.addTier(syllableTG.tierDict["tonicVowel"])