mirror of
https://github.com/wassname/pysle.git
synced 2026-07-14 01:10:08 +08:00
REFACTOR: Gave the tonic vowel tier a more representative name
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
@@ -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"])
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user