BUGFIX: Brought example file up-to-date with code

This commit is contained in:
Tim Mahrt
2016-06-28 20:27:35 +02:00
parent 88f79d63e8
commit 81257bdfaf
+6 -4
View File
@@ -35,10 +35,12 @@ returnList = pronunciationtools.findBestSyllabification(isleDict,
searchWord, searchWord,
anotherPhoneList) anotherPhoneList)
stressedSyllable, syllableList, syllabification, stressedIndex = returnList (stressedSyllable, syllableList, syllabification,
stressedSyllableIndexList, stressedPhoneIndexList,
flattenedStressIndexList) = returnList
print(searchWord) print(searchWord)
print(anotherPhoneList) print(anotherPhoneList)
print(syllableList) # We can see the first syllable was elided print(stressedSyllableIndexList) # We can see the first syllable was elided
print(stressedPhoneIndexList)
print(flattenedStressIndexList)