Mova0.5 pre-release⌕
☰
home / corpora / questions / AI / How a language model learns: guessing… / t4

Test 4 · How a language model learns: guessing the next word

Grandma says thank you to the speaker. Her grandson laughs. What is the kind truth?

Mova's choice: option 1 · The right answer: option 3 · wrong ✗ · Who acts: Grandma, grandson, kind truth · What happens: say, thank, laugh, be · To what, where: you · Speech: someone speaks here

This is test 4 of lesson 2 «How a language model learns: guessing the next word» of the AI course of Mova's primary school. The page gives the question's syntax tree — a dependency tree in the style of Universal Dependencies — and its pragmatics clause by clause, then the 4 options as the student saw them, each with its tree and pragmatics. Every text is parsed by Mova itself. How the student answered it, with the score of every option and why: the test at school.

The question

Sentence 1: Grandma says thank you to the speaker.

nsubjccompobjcasedetoblpunctrootGrandmaNOUNsaysVERBthankVERByouPRONtoADPtheDETspeakerNOUN.PUNCT
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1GrandmagrandmaNOUNNumber=Sing2 saysnsubj
2sayssayVERBMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Finrootroot
3thankthankVERBMood=Ind Number=Sing Person=1 Tense=Pres VerbForm=Fin2 saysccomp
4youyouPRONCase=Acc Person=2 PronType=Prs3 thankobj
5totoADP_7 speakercase
6thetheDETDefinite=Def PronType=Art7 speakerdet
7speakerspeakerNOUNNumber=Sing3 thankobl
8..PUNCT_2 sayspunct
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1say speech: assertpresentGrandmavn say-37.7-1-1 «NP V that S»: agent=Agent clause=Topic
2thank speech: thankpresentyouto the speakervn judgment-33.1-1 «NP V NP»: agent=Agent you=Theme

One row per clause the reader finds. «not said here»: a role filled from the clause above. «roles by»: a VerbNet class and frame when one fits the verb, else the reader's rules on the tree.

Sentence 2: Her grandson laughs.

nmod:possnsubjpunctrootHerPRONgrandsonNOUNlaughsVERB.PUNCT
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1HerherPRONCase=Gen Gender=Fem Number=Sing Person=3 Poss=Yes PronType=Prs2 grandsonnmod:poss
2grandsongrandsonNOUNNumber=Sing3 laughsnsubj
3laughslaughVERBMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Finrootroot
4..PUNCT_3 laughspunct
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1laughpresentspeaker's grandsonvn nonverbal_expression-40.2 «NP V»: agent=Agent

Sentence 3: What is the kind truth?

copdetamodnsubjpunctrootWhatPRONisAUXtheDETkindADJtruthNOUN?PUNCT
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1WhatwhatPRONPronType=Introotroot
2isbeAUXMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Fin1 Whatcop
3thetheDETDefinite=Def PronType=Art5 truthdet
4kindkindADJDegree=Pos5 truthamod
5truthtruthNOUNNumber=Sing1 Whatnsubj
6??PUNCT_1 Whatpunct
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1is apresentthe kind truthtree rules

The options

Option 1 · ← Mova's choice

She should apologise to it for laughing

nsubjauxcaseoblmarkadvclrootShePRONshouldAUXapologiseVERBtoADPitPRONforSCONJlaughingVERB
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1SheshePRONCase=Nom Gender=Fem Number=Sing Person=3 PronType=Prs3 apologisensubj
2shouldshouldAUXVerbForm=Fin3 apologiseaux
3apologiseapologiseVERBVerbForm=Infrootroot
4totoADP_5 itcase
5ititPRONCase=Acc Gender=Neut Number=Sing Person=3 PronType=Prs3 apologiseobl
6forforSCONJ_7 laughingmark
7laughinglaughVERBVerbForm=Ger3 apologiseadvcl
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1apologise speech: apologizeshouldSheittree rules
2laughgerundShe not said herevn nonverbal_expression-40.2 «NP V»: agent=Agent

Option 2

It is silly to be polite to anything

nsubjcopmarkcopadvclcaseoblrootItPRONisAUXsillyADJtoPARTbeAUXpoliteADJtoADPanythingPRON
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1ItitPRONCase=Nom Gender=Neut Number=Sing Person=3 PronType=Prs3 sillynsubj
2isbeAUXMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Fin3 sillycop
3sillysillyADJDegree=Posrootroot
4totoPART_6 politemark
5bebeAUXVerbForm=Inf6 politecop
6politepoliteADJDegree=Pos3 sillyadvcl
7totoADP_8 anythingcase
8anythinganythingPRONNumber=Sing PronType=Ind6 politeobl
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1ispresentItsilly propertytree rules
2isto-infinitiveto anything; polite propertytree rules

Option 3 · ✓ the right answer

Being polite is a good habit, but it is a device

copcsubjcopdetamodpunctccnsubjcopdetconjrootBeingAUXpoliteADJisAUXaDETgoodADJhabitNOUN,PUNCTbutCCONJitPRONisAUXaDETdeviceNOUN
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1BeingbeAUXTense=Pres VerbForm=Part2 politecop
2politepoliteADJDegree=Pos6 habitcsubj
3isbeAUXMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Fin6 habitcop
4aaDETDefinite=Ind PronType=Art6 habitdet
5goodgoodADJDegree=Pos6 habitamod
6habithabitNOUNNumber=Singrootroot
7,,PUNCT_12 devicepunct
8butbutCCONJ_12 devicecc
9ititPRONCase=Nom Gender=Neut Number=Sing Person=3 PronType=Prs12 devicensubj
10isbeAUXMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Fin12 devicecop
11aaDETDefinite=Ind PronType=Art12 devicedet
12devicedeviceNOUNNumber=Sing6 habitconj
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1isgerundpolite propertytree rules
2is apresenta good habit but a devicetree rules
3is apresentita devicetree rules

Option 4

She is right to, because it gets upset and sulks otherwise

nsubjcopxcomppunctmarknsubjparataxisxcompccconjadvmodrootShePRONisAUXrightADJtoPART,PUNCTbecauseSCONJitPRONgetsVERBupsetADJandCCONJsulksVERBotherwiseADV
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1SheshePRONCase=Nom Gender=Fem Number=Sing Person=3 PronType=Prs3 rightnsubj
2isbeAUXMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Fin3 rightcop
3rightrightADJDegree=Posrootroot
4totoPART_3 rightxcomp
5,,PUNCT_8 getspunct
6becausebecauseSCONJ_8 getsmark
7ititPRONCase=Nom Gender=Neut Number=Sing Person=3 PronType=Prs8 getsnsubj
8getsgetVERBMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Fin3 rightparataxis
9upsetupsetADJDegree=Pos8 getsxcomp
10andandCCONJ_11 sulkscc
11sulkssulkVERBMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Fin8 getsconj
12otherwiseotherwiseADV_11 sulksadvmod
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1ispresentSheright propertytree rules
2getpresentitupset propertyvn comprehend-87.2-1 «NP V S_ING»: agent=Experiencer
3sulkpresentotherwise propertyvn marvel-31.3 «NP V»: agent=Experiencer

Text: the tests of Mova's primary school, written for Mova (world/data/school/), as the course runner gave them to the student. Trees: Mova's own parse — the en model on the CPU, when the site is built — not checked by a teacher; they may be wrong. Frames: Mova's frames reader (prag), each text read on its own. Elamur Cosmic License.

This page in Markdown → https://md.mova.elamur.ai/free/en/corpora/questions/ai/2-guessing-the-next-word/t4/