Updated README.md
This commit is contained in:
parent
8c115ab59a
commit
ddf9438976
10
README.md
10
README.md
@ -4,13 +4,17 @@ As I've started learning Latin from Lingua Latina Per Se Illustrata I've encourt
|
|||||||
1. check given words in the wiktionairy, so I could see IPA, meaning, declinations etc. next to the text,
|
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.
|
2. perform the Pensa so that I could see the mistakes I've made.
|
||||||
|
|
||||||
# Parsers
|
So far I've managed to create cloze tasks for Pensa and Exercitia for the first 10 chapters. User can input the answers with or without macrons.
|
||||||
## Text to Pensum
|
|
||||||
|
|
||||||
```text2pensum.py``` takes text file as an input and generates HTML form from it. Marking is as follows:
|
# Parsers
|
||||||
|
## Text to Cloze
|
||||||
|
|
||||||
|
```text2pensum_cloze.py``` takes text file as an input and generates HTML from it. Marking is as follows:
|
||||||
- all vowel-dash-vowel combinations (```i-i```) are transformed into a long vowel marked with macron (```ī```)
|
- all vowel-dash-vowel combinations (```i-i```) are transformed into a long vowel marked with macron (```ī```)
|
||||||
- underscore-string-underscore combinations (```_us_```) are transformed into requiered html text input field with string between underscores as a value of ```data-expected``` atribute (```<input type="text" data-expected="us">```).
|
- underscore-string-underscore combinations (```_us_```) are transformed into requiered html text input field with string between underscores as a value of ```data-expected``` atribute (```<input type="text" data-expected="us">```).
|
||||||
|
|
||||||
|
```text2exercitium_cloze.py``` takes text file as an input and generates HTML from it according to the rules described above. Additionaly, the first line of the text file contains expresions separated with ```|``` based on which user should fill the input fields (sometimes declination of conjugation is necessary). Text files contains the lines (separated with ```\n```), which are processed into a list.
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
- [x] text to html parser to swiftly migrate the cloze Pensa
|
- [x] text to html parser to swiftly migrate the cloze Pensa
|
||||||
- [ ] dictionairy interface
|
- [ ] dictionairy interface
|
||||||
|
Loading…
Reference in New Issue
Block a user