1 Commits

Author SHA1 Message Date
M Clark 9e212125b1 insert takes 2 arguments
In python 3.4 and 2.7 I get an error  "insert takes 2 arguments". This PR fixes it, but I had to assume it was intended to be an append.
2016-10-20 08:27:40 +08:00
+2 -2
View File
@@ -312,8 +312,8 @@ def _parsePronunciation(pronunciationStr):
stressedPhoneList.insert(0, j)
break
elif u'ˌ' in phone:
stressedSyllableList.insert(i)
stressedPhoneList.insert(j)
stressedSyllableList.append(i)
stressedPhoneList.append(j)
return syllableList, stressedSyllableList, stressedPhoneList