mirror of
https://github.com/wassname/pysle.git
synced 2026-06-27 16:10:05 +08:00
BUGFIX: Brought example file up-to-date with code
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user