FEATURE: Index to stressed vowel; marking of stressed vowels on textgrids

- the index to the stressed syllable was provided in the past.  Now
  the library also includes the index to the stressed vowel.  This is
  provided with relation to the phones in the syllable and all phones
  in the word.

- the code that marks the stressed syllables in the textgrids also
  now marks the stressed vowels

- several variables renamed to be more informative
This commit is contained in:
Tim Mahrt
2016-03-15 17:42:33 +01:00
parent c19cde7165
commit bc4f19c74c
5 changed files with 67 additions and 32 deletions
+2 -1
View File
@@ -29,7 +29,8 @@ isleDict = isletool.LexicalTool(islevPath)
syllableTG = praattools.syllabifyTextgrid(isleDict, tg, "word", "phone",
skipLabelList=["",])
tg.addTier(syllableTG.tierDict["syllable"])
tg.addTier(syllableTG.tierDict["tonic"])
tg.addTier(syllableTG.tierDict["tonicSyllable"])
tg.addTier(syllableTG.tierDict["tonicPhone"])