/tsimapiak/translate.py |
---|
28,12 → 28,14 |
for fix in infixes3: |
if fix[0] == word["inf"][2]: |
word["translated"] += '-' + fix[1] |
for origfix in word["pref"]: |
for navf in word["pref"]: |
for fix in prefixes: |
if fix[0] == origfix: |
if fix[0] == navf: |
word["translated"] += '-' + fix[1] |
for origfix in word["post"]: |
for navf in word["post"]: |
for fix in postfixes: |
if fix[0] == origfix: |
if fix[0] == navf: |
word["translated"] += '-' + fix[1] |
if word["len"]: |
word["translated"] += '-' + 'LENTD' |
return sent |