mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-23 10:11:10 -06:00
Extend connected at last
This commit is contained in:
@@ -5,20 +5,21 @@ concrete ExtendRus of Extend =
|
||||
iFem_Pron,
|
||||
-- theyFem_Pron, weFem_Pron,
|
||||
youFem_Pron,
|
||||
-- youPlFem_Pron, youPolFem_Pron, youPolPlFem_Pron, youPolPl_Pron,
|
||||
-- VPS, ListVPS, VPI, ListVPI, VPS2, ListVPS2, VPI2, ListVPI2, RNP, RNPList,
|
||||
-- UseComp, RelNP, UseComp_estar, SubjRelNP, PredAPVP, ImpersCl, UseComp, CompAP, EmbedVP, ExistNP, UseQCl,
|
||||
-- QuestCl, ExistNP, UseQCl, ExistIP, AdvVP, AdvVP, AdvVP, UseComp, CompAP, ExistS, ExistNPQS, ExistIPQS,
|
||||
-- ComplDirectVS, ComplDirectVQ, AdvIsNPAP, AdAdV, AdjAsCN, AdjAsNP,
|
||||
-- ComplDirectVS, ComplDirectVQ, AdvIsNPAP, AdAdV, AdjAsNP,
|
||||
ApposNP,
|
||||
-- AdvIsNP,
|
||||
-- BaseVPS, ConsVPS, BaseVPI, ConsVPI, BaseVPS2, ConsVPS2, BaseVPI2, ConsVPI2,
|
||||
-- MkVPS, ConjVPS, PredVPS, MkVPI, ConjVPI, ComplVPIVV,
|
||||
-- MkVPS2, ConjVPS2, ComplVPS2, MkVPI2, ConjVPI2, ComplVPI2,
|
||||
-- Base_nr_RNP, Base_rn_RNP, Base_rr_RNP, ByVP, CompBareCN,
|
||||
-- CompIQuant, CompQS, CompS, CompVP, ComplBareVS, ComplGenVV, ComplSlashPartLast, ComplVPSVV, CompoundAP,
|
||||
-- CompoundN, ConjRNP, ConjVPS, ConsVPS, Cons_nr_RNP, Cons_rr_RNP, DetNPMasc, DetNPFem, EmbedPresPart, EmptyRelSlash,
|
||||
-- ExistsNP, ExistCN, ExistMassCN, ExistPluralCN, ProDrop,
|
||||
CompoundN,
|
||||
|
||||
--ConjRNP, ConjVPS, ConsVPS, Cons_nr_RNP, Cons_rr_RNP, DetNPMasc, DetNPFem, EmbedPresPart, EmptyRelSlash,
|
||||
ExistsNP,
|
||||
-- ExistCN, ExistMassCN, ExistPluralCN, ProDrop,
|
||||
-- FocusAP, FocusAdV, FocusAdv, FocusObj, GenIP, GenModIP, GenModNP, GenNP, GenRP,
|
||||
-- GerundAdv, GerundCN, GerundNP, IAdvAdv, ICompAP,
|
||||
InOrderToVP,
|
||||
@@ -31,7 +32,7 @@ concrete ExtendRus of Extend =
|
||||
-- UncontractedNeg, UttAccIP, UttAccNP, UttAdV, UttDatIP, UttDatNP, UttVPShort, WithoutVP, BaseVPS2, ConsVPS2, ConjVPS2, ComplVPS2, MkVPS2
|
||||
]
|
||||
with (Grammar=GrammarRus)
|
||||
** open Prelude, ResRus, ParadigmsRus in {
|
||||
** open Prelude, ResRus, ParadigmsRus, (M = MorphoRus) in {
|
||||
|
||||
lincat
|
||||
RNP = {s : Agr => Str} ;
|
||||
@@ -58,6 +59,18 @@ lin
|
||||
s = vp.adv ! Ag (GSg Neut) P3 ++ (verbInf vp.verb) ++ vp.dep ++ vp.compl ! Ag (GSg Neut) P3
|
||||
}) ;
|
||||
|
||||
-- : NP -> Cl ; -- there exists a number / there exist numbers
|
||||
ExistsNP np = {
|
||||
subj=[] ;
|
||||
adv=[] ;
|
||||
compl=np.s ! Nom ;
|
||||
verb=M.to_exist ;
|
||||
dep=[] ;
|
||||
a=np.a
|
||||
} ;
|
||||
|
||||
iFem_Pron = personalPron (Ag (GSg Fem) P1) ;
|
||||
youFem_Pron = personalPron (Ag (GSg Fem) P2) ;
|
||||
|
||||
CompoundN n1 n2 = mkCompoundN n1 "-" n2 ;
|
||||
} ;
|
||||
|
||||
Reference in New Issue
Block a user