mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-27 08:58:55 -06:00
=Implemented SlashVP in sentence
This commit is contained in:
@@ -56,7 +56,15 @@ lincat
|
||||
s : Str ; --subject
|
||||
subjAgr : Res.Agreement;
|
||||
root : Str;
|
||||
morphs : Res.VFormMini => Res.VerbMorphPos =>Str --; compl : Str -- after verb: complement, adverbs
|
||||
pres: Str;
|
||||
perf:Str;
|
||||
morphs : Res.VFormMini => Res.VerbMorphPos =>Str; --; compl : Str -- after verb: complement, adverbs
|
||||
ap:Str;
|
||||
isRegular:Bool;
|
||||
adv:Str;
|
||||
containsAdv:Bool;
|
||||
adV:Str;
|
||||
containsAdV:Bool
|
||||
} ;
|
||||
Numeral = {s : Res.CardOrd=>Res.Agreement=> Str ; g : Res.Gender; n: Res.Number} ;
|
||||
Digits = {s : Res.CardOrd => Res.Agreement=>Str ; n : Res.Number ; tail : Px.DTail} ;
|
||||
|
||||
@@ -108,6 +108,20 @@ lin
|
||||
-- *Note* the set is not complete and lacks e.g. verbs with more than 2 places.
|
||||
|
||||
--SlashVP : NP -> VPSlash -> ClSlash ; -- (whom) he sees
|
||||
SlashVP np vpslash ={
|
||||
s = np.s ! Nom;
|
||||
subjAgr = np.agr;
|
||||
root = vpslash.s;
|
||||
pres = vpslash.pres;
|
||||
perf = vpslash.perf;
|
||||
morphs = vpslash.morphs;
|
||||
ap = vpslash.ap;
|
||||
isRegular = vpslash.isRegular;
|
||||
adv = vpslash.adv;
|
||||
containsAdv = vpslash.containsAdv;
|
||||
adV = vpslash.adV;
|
||||
containsAdV = vpslash.containsAdV
|
||||
};
|
||||
--SlashVP np vpslash =
|
||||
|
||||
--AdvSlash : ClSlash -> Adv -> ClSlash ; -- (whom) he sees today
|
||||
|
||||
Reference in New Issue
Block a user