/tsimapiak/parse.py |
---|
39,6 → 39,18 |
def parseword(wordin): |
ret = {"word": {"id": 0, "navi": u"[" + wordin[0] + u"]", "infix": u"", "type": u""}} |
tempin1 = [] |
tempin2 = [] |
tempin3 = [] |
for in1 in infixes1: |
if in1 in wordin[wor]: |
tempin1.append(in1) |
for in2 in infixes2: |
if in2 in wordin[wor]: |
tempin2.append(in2) |
for in3 in infixes3: |
if in3 in wordin[wor]: |
tempin3.append(in3) |
for word in wordlist: |
foundit = True |
foundprefs = [] |
46,9 → 58,6 |
lenited = False |
splitword = word["infix"].split(u" ") |
foundins = [u"", u"", u""] |
tempin1 = [] |
tempin2 = [] |
tempin3 = [] |
if len(wordin) < len(splitword): |
foundit = False |
next |
61,15 → 70,6 |
pre = [] |
post = [] |
if u"<1>" in splitword[wor]: |
for in1 in infixes1: |
if in1 in wordin[wor]: |
tempin1.append(in1) |
for in2 in infixes2: |
if in2 in wordin[wor]: |
tempin2.append(in2) |
for in3 in infixes3: |
if in3 in wordin[wor]: |
tempin3.append(in3) |
for in1 in tempin1: |
for in2 in tempin2: |
for in3 in tempin3: |
/webapp/templates/base.html |
---|
52,7 → 52,7 |
<body> |
<div id="center"> |
<h1>Tsim Apiak</h1> |
<h2>By szabot and Muzer</h2> |
<h2>By Sh4rK and Muzer</h2> |
<h2>{% block title %}Title{% end %}</h2> |
{% block body %}Body{% end %} |
</div> |