mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
put up resource-1.0 and moved cf there
This commit is contained in:
73
lib/resource/exper/cf/Sent.cf
Normal file
73
lib/resource/exper/cf/Sent.cf
Normal file
@@ -0,0 +1,73 @@
|
||||
--- just one tense considered; no agreement forced
|
||||
|
||||
S ::= NP VP ;
|
||||
S ::= NP Mod VP ;
|
||||
S ::= Adv "," S ;
|
||||
|
||||
-- sentences used as subjects and objects
|
||||
|
||||
NP ::= SC ;
|
||||
|
||||
SC ::= "that" S ;
|
||||
SC ::= "to" VP ;
|
||||
SC ::= QS ;
|
||||
|
||||
-- this is not needed in gf
|
||||
SC ::= "whether" S | "if" S ;
|
||||
|
||||
-- existentials
|
||||
|
||||
S ::= "there" Cop NP ;
|
||||
QS ::= Cop "there" NP ;
|
||||
|
||||
-- slash category instead of gaps
|
||||
|
||||
Slash ::= NP OptAdV V2 ;
|
||||
Slash ::= NP OptAdV VV "to" V2 ;
|
||||
Slash ::= NP Cop OptAdV A2 Prep ;
|
||||
Slash ::= S Prep ;
|
||||
Slash ::= Slash Adv ; -- who does my son love here
|
||||
|
||||
-- questions
|
||||
|
||||
QS ::= Mod NP VP ;
|
||||
|
||||
-- this will be eliminated via richer lintypes
|
||||
QS ::= Cop NP Comp ;
|
||||
|
||||
IntVP. QS ::= IP VP ;
|
||||
QS ::= IP Mod VP ;
|
||||
IntSlash. QS ::= IP Mod QSlash ;
|
||||
|
||||
QSlash ::= Slash | QS Prep ;
|
||||
|
||||
-- general: QuestAdv : IAdv -> Cl -> QCl ;
|
||||
QS ::= IAdv Mod NP VP ;
|
||||
QS ::= IAdv Cop NP ;
|
||||
|
||||
IAdv ::= Prep IP ;
|
||||
|
||||
-- relatives
|
||||
|
||||
RelVP. RS ::= RP VP ;
|
||||
RS ::= RP Mod VP ;
|
||||
RelSlash. RS ::= RP Slash ;
|
||||
RS ::= Slash ;
|
||||
|
||||
-- CLE syntax of relatives
|
||||
NP ::= NP RS ;
|
||||
|
||||
FunIP. IP ::= NP Prep IP ; --N2
|
||||
|
||||
IP ::= IDet OptNum CN ;
|
||||
IP ::= IDet OptNum_Pl CN_Pl ;
|
||||
IP ::= IP PP ;
|
||||
|
||||
FunRP. RP ::= NP Prep RP ; -- ?
|
||||
RP ::= "whose" OptNum CN ;
|
||||
RP ::= "whose" OptNum_Pl CN_Pl ;
|
||||
|
||||
-- imperative
|
||||
|
||||
PosImpVP. Imp ::= VP ;
|
||||
NegImpVP. Imp ::= "don't" VP ;
|
||||
Reference in New Issue
Block a user