Subversion Repositories navi

Compare Revisions

Ignore whitespace Rev 168 → Rev 169

/tsimapiak/translate.py
28,18 → 28,16
for fix in infixes3:
if fix[0] == word["inf"][2]:
word["translated"] += '-' + fix[1]
for navf in word["pref"]:
for fix in prefixes:
if fix[0] == navf:
word["translated"] += '-' + fix[1]
print word["post"]
print word["post"][0]
print word["post"][0][0]
for navf in word["post"]:
print navf[0]
for fix in postfixes:
if fix[0] == navf:
word["translated"] += '-' + fix[1]
for temp in word["pref"]: # double array? WTF?
for navf in temp:
for fix in prefixes:
if fix[0] == navf:
word["translated"] += '-' + fix[1]
for temp in word["post"]: # double array? WTF?
for navf in temp:
for fix in postfixes:
if fix[0] == navf:
word["translated"] += '-' + fix[1]
if word["len"]:
word["translated"] += '-' + 'LENTD'
return sent