/tsimapiak/parse.py |
---|
69,7 → 69,8 |
gotinfix2 = False |
for eachinfix in infixes2: |
if infix_2.startswith(eachinfix): |
infix2 = infix_2 |
infix2 = infix_2[:len(eachinfix)] |
infix2 = infix_2[len(eachinfix) - 1:] |
gotinfix2 = True |
break |
if gotinfix2 == False: |
/webapp/templates/parse.html |
---|
9,10 → 9,10 |
<input name="btn" type="submit" value="Parse!" /> |
</form> |
{% if type(out) == list %} |
out[0]<br /> |
out[1]<br /> |
out[2]<br /> |
out[3] |
{{ out[0]}} <br /> |
{{ out[1]}} <br /> |
{{ out[2]}} <br /> |
{{ out[3]}} |
{% end %} |
<script type="text/javascript"> |
document.getElementById("word").focus(); |