mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-09-02 09:26:58 -06:00
fixed InLN, ExistNP, ExistNPAdv
This commit is contained in:
@@ -1,12 +1,26 @@
|
|||||||
concrete IdiomMkd of Idiom = CatMkd ** open Prelude,ResMkd in {
|
concrete IdiomMkd of Idiom = CatMkd ** open Prelude,ResMkd,MorphoMkd in {
|
||||||
|
|
||||||
lin CleftAdv a s = {s = \\t,a2,p,o => a.s ++ s.s} ;
|
lin CleftAdv a s = {s = \\t,a2,p,o => a.s ++ s.s} ;
|
||||||
lin CleftNP np rs = {s = \\t,a,p,o => np.s ! RSubj
|
lin CleftNP np rs = {s = \\t,a,p,o => np.s ! RSubj
|
||||||
++ rs.s ! np.a.g} ;
|
++ rs.s ! np.a.g} ;
|
||||||
lin ExistIP ip = {s = \\t,a,p => ip.s} ;
|
lin ExistIP ip = {s = \\t,a,p => ip.s} ;
|
||||||
lin ExistIPAdv ip a = {s = \\t,a2,p => ip.s ++ a.s} ;
|
lin ExistIPAdv ip a = {s = \\t,a2,p => ip.s ++ a.s} ;
|
||||||
lin ExistNP np = {s = \\t,a,p,o => np.s ! RSubj} ;
|
lin ExistNP np = {
|
||||||
lin ExistNPAdv np a = {s = \\t,a2,p,o => np.s ! RSubj ++ a.s} ;
|
s = \\o,t,a,p =>
|
||||||
|
let vp = case p of {
|
||||||
|
Pos => mkV001 "има" ;
|
||||||
|
Neg => mkV001 "нема"
|
||||||
|
} ** {compl = \\_ => np.s ! RSubj} ;
|
||||||
|
in mkClause [] {g=GSg Neuter; p=P3} vp ! o ! t ! a ! p
|
||||||
|
} ;
|
||||||
|
lin ExistNPAdv np a = {
|
||||||
|
s = \\o,t,a2,p =>
|
||||||
|
let vp = case p of {
|
||||||
|
Pos => mkV001 "има" ;
|
||||||
|
Neg => mkV001 "нема"
|
||||||
|
} ** {compl = \\_ => np.s ! RSubj ++ a.s} ;
|
||||||
|
in mkClause [] {g=GSg Neuter; p=P3} vp ! o ! t ! a2 ! p
|
||||||
|
} ;
|
||||||
lin GenericCl vp = {s = \\t,a,p,o => vp.present ! Imperfective ! Sg
|
lin GenericCl vp = {s = \\t,a,p,o => vp.present ! Imperfective ! Sg
|
||||||
! P1} ;
|
! P1} ;
|
||||||
lin ImpP3 np vp = {s = np.s ! RSubj
|
lin ImpP3 np vp = {s = np.s ! RSubj
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ concrete NamesMkd of Names = CatMkd ** open Prelude,ResMkd in {
|
|||||||
vocative = gn.s ++ sn.s; a = {g = GSg Masc; p = P1}} ;
|
vocative = gn.s ++ sn.s; a = {g = GSg Masc; p = P1}} ;
|
||||||
lin GivenName gn = {s = \\r => gn.s; vocative = gn.s;
|
lin GivenName gn = {s = \\r => gn.s; vocative = gn.s;
|
||||||
a = {g = GSg Masc; p = P1}} ;
|
a = {g = GSg Masc; p = P1}} ;
|
||||||
lin InLN ln = {s = ln.s} ;
|
lin InLN ln = {s = "во" ++ ln.s} ;
|
||||||
lin MaleSurname sn = {s = \\r => sn.s; vocative = sn.s;
|
lin MaleSurname sn = {s = \\r => sn.s; vocative = sn.s;
|
||||||
a = {g = GSg Masc; p = P1}} ;
|
a = {g = GSg Masc; p = P1}} ;
|
||||||
lin PlSurname sn = {s = \\r => sn.s; vocative = sn.s;
|
lin PlSurname sn = {s = \\r => sn.s; vocative = sn.s;
|
||||||
|
|||||||
Reference in New Issue
Block a user