forked from GitHub/gf-core
124 lines
3.7 KiB
Plaintext
124 lines
3.7 KiB
Plaintext
-- added 19/11/2003 -- 21/11
|
|
|
|
-- Combinations.gf
|
|
cat
|
|
Prep ; -- pre/postposition and/or case e.g.
|
|
Num ; -- numeral, e.g. "three", "879"
|
|
VV ; -- verb-compl. verb, e.g. "can", "want"
|
|
VG ; -- verbal group
|
|
|
|
fun
|
|
ThereIsCN : CN -> S ; -- "there is a bar", "there are bars"
|
|
ThereAreCN : Num -> CN -> S ; -- "there are 86 bars"
|
|
PrepNP : Prep -> NP -> AdV ; -- "in London", "after the war" (replace LocNP)
|
|
MassNP : CN -> NP ; -- "wine"
|
|
PredAdV : AdV -> VP ; -- "is everywhere", "is not in France"
|
|
AdjAdv : AP -> AdV ; -- "freely", "more consciously than you"
|
|
IsThereCN,AreThereCN : CN -> Qu ; -- "is there a bar", "are there bars"
|
|
PosVG,NegVG : VG -> VP ; --
|
|
|
|
|
|
-- merged PosX and NegX to PredX, for the following
|
|
PredV : V -> VG ; -- "walk", "doesn't walk"
|
|
PredPassV : V -> VG ; -- "is seen", "is not seen"
|
|
PredTV : TV -> NP -> VG ; -- "sees John", "doesn't see John"
|
|
PredVS : VS -> S -> VG ; -- "says that I run", "doesn't say..."
|
|
PredVV : VV -> VG -> VG ; -- "can run", "can't run", "tries to run"
|
|
PredV3 : V3 -> NP -> NP -> VG ; -- "prefers wine to beer"
|
|
|
|
PredNP : NP -> VG ; -- "is John", "is not John"
|
|
PredAdV : AdV -> VG ; -- "is everywhere", "is not in France"
|
|
PredAP : AP -> VG ; -- "is old", "isn't old"
|
|
PredCN : CN -> VG ; -- "is a man", "isn't a man"
|
|
VTrans : TV -> V ; -- "loves"
|
|
|
|
|
|
-- changed type signatures: added Num
|
|
IndefManyNP : Num -> CN -> NP ; -- "houses", "86 houses"
|
|
DefManyNP : Num -> CN -> NP ; -- "the cars", "the 86 cars"
|
|
ModGenMany : Num -> NP -> CN -> NP ; -- "John's cars", "John's 86 cars"
|
|
|
|
UseInt : Int -> Num ; -- "32" --- assumes i > 1
|
|
NoNum : Num ; -- no numeral modifier
|
|
|
|
IsThereCN, AreThereCN : CN -> Qu ;-- "is there a bar", "are there bars"
|
|
|
|
-- from Hajo's work
|
|
|
|
AdvAP
|
|
|
|
AdvS
|
|
|
|
AppFun2
|
|
|
|
CNthatS
|
|
|
|
ConsPhr
|
|
|
|
ItNP
|
|
|
|
NegPassV
|
|
|
|
NegV3
|
|
|
|
OnePhr
|
|
|
|
OneVP
|
|
|
|
OtherwiseAdv
|
|
|
|
PosPassV
|
|
|
|
PosV3
|
|
|
|
SubjVP
|
|
|
|
ThereforeAdv
|
|
|
|
TooAdv
|
|
|
|
VTrans
|
|
|
|
VeryAdv
|
|
|
|
|
|
-- Structural.gf
|
|
|
|
-- Some of these are just changes to Num -> Det|NP.
|
|
AllDet : Det ; -- sg all
|
|
AllsDet, WhichsDet, -- pl all, which (86)
|
|
SomesDet, AnysDet, NosDet, -- pl some, any, no
|
|
TheseDet, ThoseDet : Num -> Det ; -- these, those (86)
|
|
ThisNP, TheseNP : NP ; -- this, that
|
|
TheseNP, ThoseNP : Num -> NP ; -- these, those (86)
|
|
INP, ThouNP, HeNP, SheNP, ItNP : NP ; -- personal pronouns in singular
|
|
WeNP, YeNP : Num -> NP ; -- these pronouns can take numeral
|
|
|
|
EverybodyNP, SomebodyNP, NobodyNP, -- everybody, somebody, nobody
|
|
EverythingNP, SomethingNP, NothingNP : NP ; -- everything, something, nothing
|
|
EverywhereNP, SomewhereNP, NowhereNP : Adv ;-- everywhere, somewhere, nowhere
|
|
AlthoughSubj : Subj ; -- although
|
|
AlmostAdv, QuiteAdv : AdA ; -- almost, quite
|
|
InPrep, OnPrep, ToPrep, FromPrep, -- spatial relations
|
|
ThroughPrep, AbovePrep, UnderPrep,
|
|
InFrontPrep, BehindPrep, BetweenPrep : Prep ;
|
|
BeforePrep, DuringPrep, AfterPrep : Prep ; -- temporal relations
|
|
WithPrep, WithoutPrep, ByMeansPrep : Prep ; -- some other relations
|
|
PartPrep : Prep ; -- partitive "of" ("bottle of wine")
|
|
AgentPrep : Prep ; -- agent "by" in passive constructions
|
|
|
|
|
|
|
|
American
|
|
|
|
Connection
|
|
|
|
Finnish
|
|
|
|
Give
|
|
|
|
Married
|
|
|
|
Prefer
|
|
|