45,9 → 45,9 |
for brokenword in brokenwords: |
if wordin[0] == brokenword[0]: |
for word in wordlist: |
if wordin[0] == word["navi"]: |
if brokenword[1] == word["navi"]: |
tempid = word["id"] |
temptype = word["partOfSpeech"] |
temptype = word["type"] |
return {"word": {"id": tempid, "navi": brokenword[1], "infix": u"", "type": temptype}, "pref": brokenword[5], "post": brokenword[6], "len": brokenword[7], "inf": (brokenword[2], brokenword[3], brokenword[4]) } |
ret = {"word": {"id": 0, "navi": u"[" + wordin[0] + u"]", "infix": u"", "type": u""}} |
for word in wordlist: |
93,7 → 93,7 |
else: |
if splitword[wor] in wordin[wor]: |
center = splitword[wor] |
if center == u"": |
if center == u"" and (wordin[wor] == u"paya" or splitword[wor] != u"pxay"): # XXX - maybe fixable without hardcoding? |
for i in lenit: |
temp = u"" |
if splitword[wor].startswith(i[0]): |