mirror of
https://github.com/wassname/pysle.git
synced 2026-06-27 16:10:05 +08:00
BUGFIX: Reflect changes in praatio library
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user