diff --git a/lib/src/demo/ResourceDemo.gf b/lib/src/demo/ResourceDemo.gf index 59b9c74c9..bbd71d5b1 100644 --- a/lib/src/demo/ResourceDemo.gf +++ b/lib/src/demo/ResourceDemo.gf @@ -103,6 +103,12 @@ abstract ResourceDemo = Lexicon, Numeral, Grammar [ QuestIComp, CompIAdv, + UseRCl, -- Tense -> Pol -> RCl -> RS, + RelVP , -- RP -> VP -> QCl, -- who walks + RelSlash, -- RP -> ClSlash -> QCl, -- who does she walk with + RelCN, -- CN -> RS -> CN + IdRP, -- RP + SubjCl, -- Cl -> Subj -> S -> Cl, -- she walks because we run PrepNP , -- Prep -> NP -> Adv, -- in the house @@ -156,10 +162,10 @@ fun possDet : Pron -> Det ; numeralDet : Numeral -> Det ; i_Pron, youSg_Pron, he_Pron, she_Pron, we_Pron, youPl_Pron, they_Pron : Pron ; - SubjS : Subj -> S -> S -> S ; -- if she walks we run + RSubjS : Subj -> S -> S -> S ; -- if she walks we run SlashV2 : NP -> V2 -> ClSlash ; -- she loves SlashPrep : Cl -> Prep -> ClSlash ; -- she walks with - AdvCN : CN -> Prep -> NP -> CN ; -- man in the city + RAdvCN : CN -> Prep -> NP -> CN ; -- man in the city } diff --git a/lib/src/demo/ResourceDemoEng.gf b/lib/src/demo/ResourceDemoEng.gf index 1111c9483..58af98481 100644 --- a/lib/src/demo/ResourceDemoEng.gf +++ b/lib/src/demo/ResourceDemoEng.gf @@ -64,6 +64,8 @@ concrete ResourceDemoEng of ResourceDemo = LexiconEng, NumeralEng, GrammarEng [ Utt, -- utterance (sentence or question) e.g. "does she walk" QS, -- question (fixed tense) e.g. "who doesn't walk" QCl, -- question clause (variable tense) e.g. "who walks" + RS, -- relative (fixed tense) e.g. "that doesn't walk" + RCl, -- relative clause (variable tense) e.g. "that walks" ClSlash, -- clause missing noun phrase e.g. "she walks with" Adv, -- adverb e.g. "here" Prep, -- preposition (and/or case) e.g. "with" @@ -71,6 +73,7 @@ concrete ResourceDemoEng of ResourceDemo = LexiconEng, NumeralEng, GrammarEng [ VQ, -- question-complement verb e.g. "wonder" VV, -- verb-phrase-complement verb e.g. "want" IP, -- interrogative pronoun e.g. "who" + RP, -- relative pronoun e.g. "that" PN, -- proper name e.g. "John" Subj, -- subjunction e.g. "because" IAdv, -- interrogative adverb e.g. "why" @@ -107,6 +110,12 @@ concrete ResourceDemoEng of ResourceDemo = LexiconEng, NumeralEng, GrammarEng [ QuestIComp, CompIAdv, + UseRCl, -- Tense -> Pol -> RCl -> RS, + RelVP , -- RP -> VP -> QCl, -- who walks + RelSlash, -- RP -> ClSlash -> QCl, -- who does she walk with + RelCN, -- CN -> RS -> CN + IdRP, -- RP + SubjCl, -- Cl -> Subj -> S -> Cl, -- she walks because we run PrepNP , -- Prep -> NP -> Adv, -- in the house @@ -161,8 +170,8 @@ lin those_Det = S.those_Det ; possDet p = S.mkDet
;
numeralDet n = S.mkDet ;
- AdvCN cn p pp = mkCN