/tsimapiak/parse.py |
---|
45,7 → 45,7 |
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"] |
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]) } |