/tsimapiak/parse2.py |
---|
15,7 → 15,6 |
def parseword(wordin): |
ret = {"word": {"id": 0, "navi": u" ".join(wordin), "infix": u"", "type": u""}} |
foundword = u"" |
for word in wordlist: |
foundit = True |
foundprefs = [] |
25,6 → 24,8 |
foundit = False |
next |
for wor in range(len(splitword)): |
if not foundit: |
break |
foundprefs.append([]) |
foundposts.append([]) |
center = u"" |
31,7 → 32,6 |
foundins = [u"", u"", u""] |
pre = [] |
post = [] |
found = False |
if u"<1>" in splitword[wor]: |
for in1 in infixes1: |
for in2 in infixes2: |