mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-28 05:52:51 -06:00
fixed infinitives and imperatives
This commit is contained in:
@@ -63,24 +63,24 @@ fun
|
||||
-- have (or have not) a negation, but they are formed from verbal groups
|
||||
-- ($VG$), which have both positive and negative forms.
|
||||
|
||||
PredV : V -> VG ; -- "walk", "doesn't walk"
|
||||
PredPassV : V -> VG ; -- "is seen", "is not seen"
|
||||
PredV2 : V2 -> NP -> VG ; -- "sees John", "doesn't see John"
|
||||
PredV : V -> VP ; -- "walk", "doesn't walk"
|
||||
PredPassV : V -> VP ; -- "is seen", "is not seen"
|
||||
PredV2 : V2 -> NP -> VP ; -- "sees John", "doesn't see John"
|
||||
--- PredV3 : V3 -> NP -> NP -> VG ; -- "prefers wine to beer"
|
||||
PredV3 : V3 -> NP -> V2 ; -- "prefers wine (to beer)"
|
||||
PredVS : VS -> S -> VG ; -- "says that I run", "doesn't say..."
|
||||
PredVV : VV -> VG -> VG ; -- "can run", "can't run", "tries to run"
|
||||
PredVS : VS -> S -> VP ; -- "says that I run", "doesn't say..."
|
||||
PredVV : VV -> VPI -> VP ; -- "can run", "can't run", "tries to run"
|
||||
|
||||
PredNP : NP -> VG ; -- "is John", "is not John"
|
||||
PredPP : PP -> VG ; -- "is in France", "is not in France"
|
||||
PredAP : AP -> VG ; -- "is old", "isn't old"
|
||||
PredSuperl : ADeg -> VG ; -- "is the oldest"
|
||||
PredCN : CN -> VG ; -- "is a man", "isn't a man"
|
||||
PredNP : NP -> VP ; -- "is John", "is not John"
|
||||
PredPP : PP -> VP ; -- "is in France", "is not in France"
|
||||
PredAP : AP -> VP ; -- "is old", "isn't old"
|
||||
PredSuperl : ADeg -> VP ; -- "is the oldest"
|
||||
PredCN : CN -> VP ; -- "is a man", "isn't a man"
|
||||
VTrans : V2 -> V ; -- "loves"
|
||||
|
||||
--- PosVG,NegVG : VG -> VP ; --
|
||||
|
||||
PredVG : NP -> VG -> Cl ; -- preserves all pol/tense variation
|
||||
PredVP : NP -> VP -> Cl ; -- preserves all pol/tense variation
|
||||
|
||||
--!
|
||||
--3 Adverbs
|
||||
@@ -91,6 +91,7 @@ fun
|
||||
AdvPP : PP -> Adv ; -- "in London", "after the war"
|
||||
PrepNP : Prep -> NP -> PP ; -- "in London", "after the war"
|
||||
|
||||
--- AdvVP : VP -> Adv -> VP ; -- "always walks", "walks in the park"
|
||||
AdvVP : VP -> Adv -> VP ; -- "always walks", "walks in the park"
|
||||
AdvCN : CN -> PP -> CN ; -- "house in London"
|
||||
AdvAP : AdA -> AP -> AP ; -- "very good"
|
||||
@@ -103,7 +104,7 @@ fun
|
||||
--- PosSlashV2,NegSlashV2 : NP -> V2 -> Slash ; -- "John sees", "John doesn't see"
|
||||
SlashV2 : NP -> V2 -> Slash ; -- "John sees", "John doesn't see"
|
||||
--- OneVP : VP -> S ; -- "one walks"
|
||||
OneVG : VG -> Cl ; -- "one walks"
|
||||
OneVP : VP -> Cl ; -- "one walks"
|
||||
--- ThereNP : NP -> S ; -- "there is a bar","there are 86 bars"
|
||||
ExistCN : CN -> Cl ; -- "there is a bar"
|
||||
ExistNumCN : Num -> CN -> Cl ; -- "there are (86) bars"
|
||||
@@ -111,7 +112,7 @@ fun
|
||||
IdRP : RP ; -- "which"
|
||||
FunRP : N2 -> RP -> RP ; -- "the successor of which"
|
||||
--- RelVP : RP -> VP -> RCl ; -- "who walks", "who doesn't walk"
|
||||
RelVG : RP -> VG -> RCl ; -- "who walks", "who doesn't walk"
|
||||
RelVP : RP -> VP -> RCl ; -- "who walks", "who doesn't walk"
|
||||
RelSlash : RP -> Slash -> RCl ; -- "that I wait for"/"for which I wait"
|
||||
--- ModRC : CN -> RS -> CN ; -- "man who walks"
|
||||
ModRS : CN -> RS -> CN ; -- "man who walks"
|
||||
@@ -128,17 +129,17 @@ fun
|
||||
NounIPOne, NounIPMany : CN -> IP ; -- "which car", "which cars"
|
||||
---- NounIPHowMany : CN -> IP ; -- "how many cars"
|
||||
|
||||
QuestVG : NP -> VG -> QCl ; -- "does John walk"; "doesn't John walk"
|
||||
--- IntVP : IP -> VP -> QCl ; -- "who walks"
|
||||
IntVG : IP -> VG -> QCl ; -- "who walks"
|
||||
QuestVP : NP -> VP -> QCl ; -- "does John walk"; "doesn't John walk"
|
||||
IntVP : IP -> VP -> QCl ; -- "who walks"
|
||||
IntSlash : IP -> Slash -> QCl ; -- "whom does John see"
|
||||
--- QuestAdv : IAdv -> NP -> VP -> QS ; -- "why do you walk"
|
||||
QuestAdv : IAdv -> NP -> VG -> QCl ; -- "why do you walk"
|
||||
QuestAdv : IAdv -> NP -> VP -> QCl ; -- "why do you walk"
|
||||
--- IsThereNP : NP -> QS ; -- "is there a bar", "are there (86) bars"
|
||||
ExistQCl : CN -> QCl ; -- "is there a bar",
|
||||
ExistNumQCl : Num -> CN -> QCl ; -- "are there (86) bars"
|
||||
|
||||
ImperVP : VP -> Imp ; -- "be a man"
|
||||
--- ImperVP : VP -> Imp ; -- "be a man"
|
||||
ImperVP : VPI -> Imp ; -- "(don't) be a man"
|
||||
|
||||
----rename these ??
|
||||
IndicPhrase : S -> Phr ; -- "I walk."
|
||||
@@ -212,30 +213,30 @@ fun
|
||||
|
||||
PredVV2 : VV -> V2 -> V2 ; -- (which song do you) want to play
|
||||
AdjPart : V -> A ; -- forgotten
|
||||
ReflV2 : V2 -> VG ;
|
||||
ReflV2 : V2 -> VP ;
|
||||
|
||||
-- In these predications, the last argument gets its agreement
|
||||
-- features from the second, and cannot hence be made to produce
|
||||
-- $V2A$/$V2S$.
|
||||
|
||||
PredV2A : V2A -> NP -> AP -> VG ;
|
||||
PredSubjV2V : V2V -> NP -> VG -> VG ;
|
||||
PredV2A : V2A -> NP -> AP -> VP ;
|
||||
PredSubjV2V : V2V -> NP -> VPI -> VP ;
|
||||
|
||||
--- In these three it would be possible, but hardly useful...
|
||||
|
||||
PredObjV2V : V2V -> NP -> VG -> VG ;
|
||||
PredV2S : V2S -> NP -> S -> VG ;
|
||||
PredV2Q : V2Q -> NP -> QS -> VG ;
|
||||
PredObjV2V : V2V -> NP -> VPI -> VP ;
|
||||
PredV2S : V2S -> NP -> S -> VP ;
|
||||
PredV2Q : V2Q -> NP -> QS -> VP ;
|
||||
|
||||
PredAS : AS -> S -> Cl ;
|
||||
PredA2S : A2S -> NP -> AS ;
|
||||
PredAV : AV -> VG -> VG ;
|
||||
PredSubjA2V : A2V -> NP -> VG -> VG ;
|
||||
PredObjA2V : A2V -> NP -> VG -> VG ;
|
||||
PredAS : AS -> S -> Cl ;
|
||||
PredA2S : A2S -> NP -> AS ;
|
||||
PredAV : AV -> VPI -> VP ;
|
||||
PredSubjA2V : A2V -> NP -> VPI -> VP ;
|
||||
PredObjA2V : A2V -> NP -> VPI -> VP ;
|
||||
PredV0 : V0 -> Cl ;
|
||||
|
||||
PredVQ : VQ -> QS -> VG ;
|
||||
PredVA : VA -> AP -> VG ;
|
||||
PredVQ : VQ -> QS -> VP ;
|
||||
PredVA : VA -> AP -> VP ;
|
||||
|
||||
UseV2V : V2V -> VV ;
|
||||
UseV2S : V2S -> VS ;
|
||||
@@ -244,9 +245,11 @@ fun
|
||||
UseA2V : A2V -> AV ;
|
||||
|
||||
UseCl : TP -> Cl -> S ;
|
||||
UseVG : TP -> VG -> VP ;
|
||||
UseRCl : TP -> RCl -> RS ;
|
||||
UseQCl : TP -> QCl -> QS ;
|
||||
PosVP, NegVP : Ant -> VP -> VPI ;
|
||||
|
||||
ProgVP : VPI -> VP ; -- he is eating
|
||||
|
||||
PosTP : Tense -> Ant -> TP ;
|
||||
NegTP : Tense -> Ant -> TP ;
|
||||
|
||||
Reference in New Issue
Block a user