Subversion Repositories navi

Compare Revisions

Ignore whitespace Rev 176 → Rev 180

/tsimapiak/parse.py
59,8 → 59,17
post = []
if u"<1>" in splitword[wor]:
for in1 in infixes1:
for in2 in infixes2:
for in3 in infixes3:
if in1 in splitword[wor]:
tempin1.append(in1)
for in2 in infixes2:
if in2 in splitword[wor]:
tempin2.append(in2)
for in3 in infixes3:
if in3 in splitword[wor]:
tempin3.append(in3)
for in1 in tempin1:
for in2 in tempin2:
for in3 in tempin3:
if splitword[wor].replace(u"<1><2>",in1+in2).replace(u"<3>",in3) in wordin[wor]:
center = splitword[wor].replace(u"<1><2>",in1+in2).replace(u"<3>",in3)
foundins = [in1, in2, in3]