Subversion Repositories navi

Compare Revisions

Ignore whitespace Rev 203 → Rev 204

/tsimapiak/parse.py
47,7 → 47,7
for word in wordlist:
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: