Subversion Repositories navi

Compare Revisions

Ignore whitespace Rev 190 → Rev 191

/tsimapiak/parse.py
43,11 → 43,9
tempid = 0
temptype = u""
for brokenword in brokenwords:
print wordin
print brokenword[0]
if wordin == brokenword[0]:
if wordin[0] == brokenword[0]:
for word in wordlist:
if wordin == word["navi"]:
if wordin[0] == 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]) }