Giving feedback to the student
Here are some more documentation if you want to know more than just make the demos.
For al the programs, if the answer is correct, it turns green. If not, the student gets metalinguistic feedback.
Feedback in Morfa
In the l-element in the lexicon, is meta-information stored, for selecting the appropriate words for the exercises (e.g. different kind of stems or inflection classes), and for providing detailed feedback on possible morphological errors. From N_smenob.xml:
<l diphthong="yes" gradation="yes" pos="n" finis="0" stemvowel="i" stem="2syll">guolli</l>
This information combined with the information about the task itself implies tags that trigger messages in the chosen user interface language. For example for plural accusative for bisyllabic lemmas with diphthong and stemvowel i. From feedback_nouns.xml:
<l stem="2syll" diphthong="yes" stemvowel="i"> <msg case="Acc" number="Pl">diphthongsimplification</msg>
This produces the tag diphthongsimplification, triggering a message in any language. From messages.eng.xml:
<message order="C" id="diphthongsimplification">Remember diphthong simplification because of </message>
Many small messages are linked together to a longer message: Another combination of the morphophonological information of the lemma and the task gives a tag which triggers the message about weak grade and another one is the suffix is -id. All the feedback messages starts with a message about the stem type:
Feedback in Leksa
Feedback in Vasta and Sahka