feedback

Feedback/hints to the student about the morphology

The feedback consists of three parts:

  1. the combination of properties of the stem and the task itself gives triggers like "k-gives-w" (look at. ped/meta/feedback_nouns.xml)
  2. the trigger gives a sentence or part of a sentence in the chosen language (look at. messages.eng.xml, k-gives-w gives "Add -w- because the stem is ending with -k.")
  3. the properties of the stem is given in the <l>-element in e.g. ped/src/N_crk.xml (but not to the ones marked with genonly="none")

You are free to give names to the triggers, and the properties as you want.

Have a look at the files in ped/crk/meta:

There is an attribute rime in the <l>-element in the N-file (you are free to rename it) and it is used like this:

    <l animacy="AN">    
      <msg number="Pl">plural-ak</msg> 
      <note> </note>
    </l>

This message is given to all AN-nouns for Pl tasks (one could limit it with adding rime="0")

    <l animacy="AN" rime="k">
      <msg number="Pl">k-gives-w</msg>  
      <note> </note>
    </l>
Stems with rime="k" get also this message. One could consider 
giving only one message: the plural is -wak.

Locative, based on Okimâsis s. 26-27:

    <l rime="k">
      <msg case="Loc">locative-ohk</msg>
      <note>sôniyâwikamik - sôniyâwikamikohk</note>
    </l>

    <l rime="oy">
      <msg case="Loc">locative-oohk</msg>
      <note>mîcimâpoy - mîcimâpôhk</note>
    </l>

    <l rime="aw">
      <msg case="Loc">locative-aahk</msg>
      <note>mêskanaw -  mêskanâhk</note>
    </l>

    <l rime="ay">
      <msg case="Loc">locative-aahk</msg>
      <note>mihtawakay - mihtawakâhk </note>
    </l>

    <l rime="eew" animacy="IN">
      <msg case="Loc">locative-ihk</msg>
      <note>iskotêw - iskotêwihk</note>
    </l>

    <l rime="oow" animacy="IN">
      <msg case="Loc">locative-ihk</msg>
      <note>  </note> 
    </l>

    
    <l rime="eew" animacy="AN">
      <msg case="Loc">locative-naahk</msg>
      <note>iskwêw - iskwênâhk</note>
    </l>

    <l rime="oow" animacy="AN">
      <msg case="Loc">locative-naahk</msg>
      <note>âmôw - âmônâhk </note> NB: this is âmow in FST
    </l>

    <l lemma="mostos">
      <msg case="Loc">locative-onaahk</msg>  <== this one is not implemented yet 
      <note> </note>				because it is not in the FST
    </l>

One can choose to give a hint about -hk to all, and then give more information, as is done for plural. Or one can give the whole Locative information of each type, as one message.

Possessive hints are made of two parts for circumfixes:

    <l>
      <msg possessive="1Sg">prefix-n</msg>
      <msg possessive="2Sg">prefix-k</msg>
      <msg possessive="3Sg">prefix-o</msg>
      <msg possessive="4Sg">prefix-o</msg>
      <msg possessive="1Pl">prefix-n</msg>
      <msg possessive="12Pl">prefix-k</msg>
      <msg possessive="2Pl">prefix-k</msg>
      <msg possessive="3Pl">prefix-o</msg>
      <msg possessive="4Pl">prefix-o</msg>
      <note> </note>
    </l>

    <l animacy="AN">
      <msg possessive="3Sg">obviative</msg>
      <msg possessive="4Sg">iyiw-Obv</msg>
      <msg possessive="1Pl">inaan</msg>
      <msg possessive="12Pl">inaw</msg>
      <msg possessive="2Pl">iwaaw</msg>
      <msg possessive="3Pl">iwaaw</msg>
      <msg possessive="4Pl">iyiw-Obv</msg>
      <note> </note>
    </l>

The message for Plural can be:

  1. WORDFORM is an animate noun
  2. and the plural suffix is -ak.
  3. Add -w- because the stem is ending with -k.

The message for possessive can be:

  1. WORDFORM is an animate noun for possessive 4Sg:
  2. The possessive prefix is o- or w-.
  3. The possessive suffix -iyiw- and remember obviative -a.