21 lines
1.1 KiB
Markdown
21 lines
1.1 KiB
Markdown
# About
|
|
|
|
As I've started learning Latin from Lingua Latina Per Se Illustrata I've encourtered the urge for Duolingo-like interface allowing me to:
|
|
1. check given words in the wiktionairy, so I could see IPA, meaning, declinations etc. next to the text,
|
|
2. perform the Pensa so that I could see the mistakes I've made.
|
|
|
|
# Parsers
|
|
## Text to Pensum
|
|
|
|
```text2pensum.py``` takes text file as an input and generates HTML form from it. Marking is as follows:
|
|
- all vowel-dash-vowel combinations (```i-i```) are transformed into a long vowel marked with macron (```ī```)
|
|
- underscore-string-underscore combinations (```_us_```) are transformed intorequiered html text input field with string between underscores as a value of ```data-expected``` atribute (```<input type="text" data-expected="us" required>```).
|
|
|
|
# TODO
|
|
- [x] text to html parser to swiftly migrate the cloze Pensa
|
|
- [ ] dictionairy interface
|
|
- [ ] sync performing Pensa with doneth.at
|
|
|
|
# Development
|
|
|
|
To run the app on your own machine run ```pipenv install``` to install requested packages based on the Pipfile and then run ```pipenv shell 'gunicorn --chdir app --bind 0.0.0.0:5000 app:app'```. |