mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-27 08:58:55 -06:00
fixed copulas and pushed previous updates (#447)
* fixed copula verbs * fixed copula verbs
This commit is contained in:
committed by
GitHub
parent
8007c4576c
commit
9340f73b39
@@ -26,7 +26,7 @@ lin PlSurname sn =
|
||||
} ; -- Does NP need animacy?
|
||||
|
||||
lin FullName gn sn =
|
||||
{ s=\\cas => gn.s ! Nom ++ sn.s ! gn.g ! cas ;
|
||||
{ s=\\cas => gn.s ! cas ++ sn.s ! gn.g ! cas ;
|
||||
pron=False;
|
||||
a=let g = case gn.g of {
|
||||
Male => Masc ;
|
||||
|
||||
@@ -511,6 +511,10 @@ oper
|
||||
= \a, ln -> ln ** {
|
||||
s = \\cas => (adjFormsAdjective a).s ! (gennum ln.g ln.n) ! ln.anim ! cas ++ ln.s ! cas
|
||||
} ;
|
||||
mkLN : LN -> Str -> LN
|
||||
= \ln, suffix -> ln ** {
|
||||
s = \\cas => ln.s ! cas ++ suffix
|
||||
} ;
|
||||
} ;
|
||||
|
||||
invarLN : Str -> Gender -> Number -> LN
|
||||
|
||||
@@ -188,15 +188,15 @@ lin
|
||||
};
|
||||
|
||||
-- : NP -> Comp ; -- (be) the man
|
||||
CompNP np = {s=\\a=>np.s ! Ins ; adv=[] ; cop=InsCopula} ;
|
||||
CompNP np = {s=\\a=>np.s ! Nom ; adv=[] ; cop=NomCopula} ;
|
||||
|
||||
-- : Adv -> Comp ; -- (be) here
|
||||
CompAdv adv = {s=\\a=>[] ; adv=adv.s ; cop=ExplicitCopula} ;
|
||||
-- : CN -> Comp ; -- (be) a man/men
|
||||
CompCN cn = {
|
||||
s=\\a=>cn.s ! numGenNum (agrGenNum a) ! Ins ;
|
||||
s=\\a=>cn.s ! numGenNum (agrGenNum a) ! Nom ;
|
||||
adv=[] ;
|
||||
cop=InsCopula
|
||||
cop=NomCopula
|
||||
} ;
|
||||
|
||||
-- : VP ; -- be
|
||||
|
||||
Reference in New Issue
Block a user