BUGFIX: Reflect changes in praatio library

This commit is contained in:
timmahrt
2015-06-16 02:27:46 -05:00
parent e2a2025f5b
commit ce633d0590
+2 -2
View File
@@ -93,8 +93,8 @@ def syllabifyTextgrid(isleDict, tg, wordTierName, phoneTierName,
tonicEntryList.append( (syllableStart, syllableEnd, tonicLabel) )
# Create a textgrid with the two syllable-level tiers
syllableTier = praatio.TextgridTier("syllable", syllableEntryList, praatio.INTERVAL_TIER)
tonicTier = praatio.TextgridTier('tonic', tonicEntryList, praatio.INTERVAL_TIER)
syllableTier = praatio.IntervalTier("syllable", syllableEntryList)
tonicTier = praatio.IntervalTier('tonic', tonicEntryList)
syllableTG = praatio.Textgrid()
syllableTG.addTier(syllableTier)