From a36d7c8d174072ef4702a343035d43299e734ebe Mon Sep 17 00:00:00 2001 From: Tim Mahrt Date: Wed, 16 Mar 2016 12:00:19 +0100 Subject: [PATCH] REFACTOR: Gave the tonic vowel tier a more representative name --- pysle/praattools.py | 2 +- test/syllabifyTextgrid.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"])