!!!Meeting notes, Pedagogical programs, 080110


Phase II, first meeting in 2008.


Note: In order to use forrest for the documentation, write in this command:

{{{
ln -s /Users/lene/ped/doc xtdoc/gtuit/src/documentation/content/xdocs/ped
}}}


!!!Initiative routines:

{{{
M asks
U answers negative                U answers affirmative
M must know it is negative        M gives follow-up question
}}}

Challenge: Be able to distinguish between affirmative and negative answer.

* M Haluatko kahvia?
* U En pidä kahvista / en halua / en, kiitos / en / en tiedä / ehkä en

* => If answer contains V Neg Sg1, then it is negative.
* => If answer contains V Sg1, then it is affirmative.


!!!Overall system:

Ond document for dialogue structure, which specifies how topics are linked

Requires lists of beverages, lists of food, lists of beverage accessories.

{{{
<dialogue name="cafe">
   <topic name="juhkat"/>
   <topic name="syöminen"/>
   <topic name="maksaminen"/>
</dialogue>
}}}

{{{
<topic name="juhkat">
   <opening>Mitä joisimme?</opening>
   <question name="jugatgo_gáfe">
     <aff>
       <q link="sokeri"/>
     </aff>
     <neg>
       <q link="jugatgo_deaja"/>
     </neg>
     <default>
       <q link=".."/>
     </default>
   </question>

   <question name="sokeri">
     <q>Otatko sokeria?</q>
     <aff>
       <utt>Ole hyvä!</utt>
     </aff>
     <default>
      <q link="maito"/>
     </default>
   </question>
</topic>

   <question name="maito">
     <q>Otatko maitoa?</q>
     <aff>
       <utt>Ole hyvä!</utt><!--final_state-->
     </aff>
    </question>
</topic>

<topic name="syöminen">
  ..
</topic>

<topic name="maksaminen..">
  ..
</topic>


<!--testing without y/n-->
<topic name="juhkat_substance">
   <opening>Mitä joisimme?</opening>
   <question name="Máid háliidat juhkat?">
     <known ans="bev"><!--if answer is in list of beverages then maksaminen-->
       <q link="maksaminen"/>
     </known>
     <unknown>
      <q link="is_this_a_beverage">
     </unknown>
     <neg>
       <q link="syöminen"/>
     </neg>
     <default>
       <q link=".."/>
     </default>
   </question>

   <question name="sokeri">
     <q>Otatko sokeria?</q>
     <aff>
       <utt>Ole hyvä!</utt>
     </aff>
     <default>
      <q link="maito"/>
     </default>
   </question>
</topic>
}}}




háliidit hálidit

* Jugatgo gáfe?
* De juggan. ?  
* De jugat. sg2

{{{
brufsa bruvssa/Bruåsa
          1 1     1
}}}          
          

{{{
Jugatgo gáfe?
De háliidan.
De háliidan juhkat, dalle go mun ..
De jugan.
((Geavaha vearbba "juhkat" vástadusas!))
De jugat.
}}}


Closed dialogue, yes/no question to U:

* Affirmative_V
* háliidit, doaivvuhit, 

{{{
<question name="jugatgo_gáfe" ans_v="DRINK_V">
  <q Tense="Prs" PN="Sg2">Jugatgo gáfe?</q>
  <q Tense="Prs" PN="Sg3">Juhkágo gáfe?</q>
  ...
</question>

<question name="jugatgo_gáfe">
  <q><grammar V="juhkat" N="gáffe">V+MV_GRAM+Qst N+Sg+Acc</grammar></q>
</question>

<grammar type="MV_GRAM">
  <tag>V+Ind+Tense+PersonNumber</tag>
</grammar>


<question name="jugatgo_gáfe">
  <q type="go_objsg"><grammar V="juhkat" N="gáffe"/></q>
</question>

<proto_question type="go_objsg">
  <q>V+MV_GRAM+Qst N+SG+ACC</q>
</proto_question>


<answer name="jugatgo_gáfe" ans_v="DRINK_V">
  <aff>
    <ans>V+MV_GRAM N+SG+ACC</ans><!--Jugan gáfe-->
    <ans>Pron V+MV_GRAM</ans><!--Mun háliidan-->
    <ans>De V+MV_GRAM</ans>
    <ans>Juo, Pron V+MV_GRAM</ans>
  </aff>
  <neg>
    <ans>Neg+NEG_GRAM V+CONNEG</ans>
    <ans>Neg+NEG_GRAM V+CONNEG N+SG+ACC</ans>
    <ans>Neg+NEG_GRAM V+CONNEG maidege</ans>
  <neg>
</answer>

    <ans PN="SG1">Jugan N+SG+ACC</ans><!--Jugan gáfe-->
    <ans>Pron V+MV_GRAM</ans><!--Mun háliidan-->
    <ans>De V+MV_GRAM</ans>
    <ans>Juo, Pron V+MV_GRAM</ans>


<proto_answer type="go_objsg">
  <aff>
    <ans>(Pron) V+MV_GRAM (N+SG+ACC) (Adv*)</ans>
    <ans>(Pron) V+MV_GRAM (Adv*) (N+SG+ACC) </ans>
  </aff>
  <neg>
    <ans>Neg+NEG_GRAM V+CONNEG (N+SG+ACC)</ans>
  <neg>
</proto_answer>
}}}

feedback.xml:

{{{
<error type="MAINV_SG1">
  <fb>Select a verb in first person singular.</fb>
  <tut type="verb_inflection"/>
</error>
..
<error type="MAINV_PL1">
  <fb>The pronoun "we" requires first person plural for the verb form.</fb>
  <tut link="verb_inflection"/>
</error>

<error type="incomplete_answer">
  <fb>Answer with complete clauses.</fb>
  <tut link="complete_clauses"/>
</error>
}}}

tutorial.xml

{{{
<dialogue name="cafe">
   <topic name="juhkat"/>
   <topic name="syöminen"/>
   <topic name="maksaminen"/>
</dialogue>

<dialogue name="">
}}}

dialogue_cafe.sme.xml -



* Maid don jugat?
* Mun jugan liegga-attr gáfe.
* Mun jugan liekkas-pred gáfe.

(Pron) V (P (Grade-Adv)(Adj Attr) N-Acc

Maid don siđát?

an

verbs: juhkat, váldit
       juoda, ottaa ...

If V = drinking verb AND answer = affirmative, go on.

Eventually: Always demand the same verb used in the answer as in the question.

{{{
q1=do you drink coffe?
q1a1=aff
q1a1q11=do you want milk or sugar
q1a1q11a11=milk                
q1a1q11a12=sugar                
q1a1q11a13=both                
q1a1q11a14=neither                
q1a2=neg
q1a2q11=...
}}}                

(Note: Instead of this format, use xml format instead.)                

{{{
<proto_answer type="go_objsg">
  <aff>
    <ans>(Pron) V+MV_GRAM (N+SG+ACC)</ans>
  </aff>
  <neg>
    <ans>Neg+NEG_GRAM V+CONNEG (N+SG+ACC)</ans>
  <neg>
</proto_answer>
}}}

!!later

More advanced, open option:

Maid háliidat juhkat?

list-of-beverages:
"bohcco#mielki" "bruvsa" "buolle#viidni" "buollin#viidna" "čáhci" "čáhppesmuorje#sákta" "čielga#mielki" "deadja" "duolva#čáhci" "gáffe" "gáicca#mielki" "gearra" "goden" "gusa#mielki" "jugus" "juhkamuš" "mielki" "rukses#viidni" "sarrit#sákta" "sáiva#čáhci" "sákta" "sávzza#mielki" "suvrra#mielki" "viidna" "viidni" "vilges#viidni" "vuola" "vuolla" (sme-dis.rle)


Mis ii leat X. Háliidatgo Y?

Mun háliidan ruđaid.

If_not_in_list:

Leago vejolaš juhkat ruđaid?

Ii leat.

De háliidatgo gáfe?


!!Incomplete answers

{{{
<error link="incomplete_answer">
  <ans>In</ans>
  <ans>Juo</ans>
</error>  

<feedback type="incomplete_answer">
  <fb>Answer with complete clauses.</fb>
  <tut link="complete_clauses"/>
</feedback>
}}}

Challenge: Be able to distinguish between affirmative and negative answer.

* M Haluatko kahvia?
* U En pidä kahvista / en halua / en, kiitos / en / en tiedä / ehkä en

* => If answer contains V Neg Sg1, then it is negative. "In"
* => If answer contains V Sg1, then it is affirmative. "Háliidan"
* => If answer repeats the object, then it is affirmative. "Káfe"
* => If neither, then M asks again