From 81257bdfafb23d00f4b1bb48e7b9bb11c648bef8 Mon Sep 17 00:00:00 2001 From: Tim Mahrt Date: Tue, 28 Jun 2016 20:27:35 +0200 Subject: [PATCH] BUGFIX: Brought example file up-to-date with code --- test/basicExamples.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/basicExamples.py b/test/basicExamples.py index d49ba40..76f5c73 100644 --- a/test/basicExamples.py +++ b/test/basicExamples.py @@ -35,10 +35,12 @@ returnList = pronunciationtools.findBestSyllabification(isleDict, searchWord, anotherPhoneList) -stressedSyllable, syllableList, syllabification, stressedIndex = returnList - +(stressedSyllable, syllableList, syllabification, +stressedSyllableIndexList, stressedPhoneIndexList, +flattenedStressIndexList) = returnList print(searchWord) 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)