A semi-automatic parser of Ancient Greek and Latin languages. https://lexis.glossa.info/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

31 lines
1.3 KiB

{{ define "index" }}
<div>
{{ if eq .Lang "en" }}
<p>Here you can parse words and texts in Ancient Greek or Latin languages.</p>
{{ else }}
<p>На данной странице можно произвести морфемный разбор слов и текстов на древнегреческом и латинском языках.</p>
{{ end }}
</div>
<button id="clear-text" title="Удалить текст">x</button>
<form action="/{{ .Lang }}/parse/">
<textarea type="text" name="text" id="text">
Ἑλληνικὴ γλῶσσα:
1. Ἐν ἀρχῇ ἦν ὁ Λόγος, καὶ ὁ Λόγος ἦν πρὸς τὸν Θεόν, καὶ Θεὸς ἦν ὁ Λόγος.
Lingua latina:
1. In principio erat Verbum, et Verbum erat apud Deum, et Deus erat Verbum.
</textarea>
{{ if eq .Lang "en" }}
<p id="text-words">Please type under 100 words. Words: <span id="counter">0</span>.</p>
{{ else }}
<p id="text-words">Длина текста ограничена 100 словами. Сейчас слов в тексте: <span id="counter">0</span>.</p>
{{ end }}
<br />
{{ if eq .Lang "en" }}
<button type="submit">Analyze →</button>
{{ else }}
<button type="submit">Проанализировать →</button>
{{ end }}
</form>
{{ end }}