/tsimapiak/parse2.py |
---|
15,7 → 15,7 |
#prefixesv = ur"(?P<vpr>(?:nì|sä|tì|rä'ä |ke )?)" |
def parseword(wordin): |
ret = {"word": {"id": 0, "navi": u" ".join(wordin), "infix": u"", "type": u""}} |
ret = {"word": {"id": 0, "navi": u"[" + u" ".join(wordin) + u"]", "infix": u"", "type": u""}} |
for word in wordlist: |
foundit = True |
foundprefs = [] |