mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-27 17:08:54 -06:00
UseComp_estar/UseComp_ser in Extend
This commit is contained in:
@@ -290,6 +290,10 @@ fun UseDAP : DAP -> NP ;
|
|||||||
|
|
||||||
cat X ; -- for words that are difficult to classify, mainly for MorphoDict
|
cat X ; -- for words that are difficult to classify, mainly for MorphoDict
|
||||||
|
|
||||||
|
fun
|
||||||
|
UseComp_estar : Comp -> VP ; -- esta lleno, as opposed to es lleno
|
||||||
|
UseComp_ser : Comp -> VP ; -- es lleno, as opposed to esta lleno
|
||||||
|
|
||||||
fun
|
fun
|
||||||
CardCNCard : Card -> CN -> Card ; -- three million, four lakh, six dozen etc
|
CardCNCard : Card -> CN -> Card ; -- three million, four lakh, six dozen etc
|
||||||
|
|
||||||
|
|||||||
@@ -300,6 +300,9 @@ lin UseDAP dap = {
|
|||||||
p = NounP3 dap.p
|
p = NounP3 dap.p
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
lin UseComp_estar = UseComp ;
|
||||||
|
UseComp_ser = UseComp ;
|
||||||
|
|
||||||
lin GivenName = \n -> {
|
lin GivenName = \n -> {
|
||||||
s = n.s ;
|
s = n.s ;
|
||||||
gn = GSg (sex2gender n.g)
|
gn = GSg (sex2gender n.g)
|
||||||
|
|||||||
@@ -136,6 +136,10 @@ lin
|
|||||||
lincat
|
lincat
|
||||||
X = {s : Str} ;
|
X = {s : Str} ;
|
||||||
|
|
||||||
|
lin
|
||||||
|
UseComp_estar = UseComp ;
|
||||||
|
UseComp_ser = UseComp ;
|
||||||
|
|
||||||
lin
|
lin
|
||||||
CardCNCard = variants {} ;
|
CardCNCard = variants {} ;
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,8 @@ concrete ExtendSpa of Extend = CatSpa ** ExtendRomanceFunctor -
|
|||||||
youPolFem_Pron,
|
youPolFem_Pron,
|
||||||
youPolPlFem_Pron,
|
youPolPlFem_Pron,
|
||||||
youPolPl_Pron,
|
youPolPl_Pron,
|
||||||
PassVPSlash, PassAgentVPSlash
|
PassVPSlash, PassAgentVPSlash,
|
||||||
|
UseComp_estar, UseComp_ser
|
||||||
] -- don't forget to put the names of your own
|
] -- don't forget to put the names of your own
|
||||||
-- definitions here
|
-- definitions here
|
||||||
with
|
with
|
||||||
@@ -31,7 +32,8 @@ concrete ExtendSpa of Extend = CatSpa ** ExtendRomanceFunctor -
|
|||||||
MorphoSpa,
|
MorphoSpa,
|
||||||
Coordination,
|
Coordination,
|
||||||
Prelude,
|
Prelude,
|
||||||
ParadigmsSpa in {
|
ParadigmsSpa,
|
||||||
|
(I=IrregSpa) in {
|
||||||
-- put your own definitions here
|
-- put your own definitions here
|
||||||
|
|
||||||
lin
|
lin
|
||||||
@@ -101,6 +103,9 @@ concrete ExtendSpa of Extend = CatSpa ** ExtendRomanceFunctor -
|
|||||||
cop = serCopula
|
cop = serCopula
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
lin UseComp_estar comp = insertComplement comp.s (predV I.estar_V) ;
|
||||||
|
UseComp_ser comp = insertComplement comp.s (predV copula) ;
|
||||||
|
|
||||||
lin GivenName, MaleSurname, FemaleSurname = \n -> n ;
|
lin GivenName, MaleSurname, FemaleSurname = \n -> n ;
|
||||||
lin FullName gn sn = {
|
lin FullName gn sn = {
|
||||||
s = gn.s ++ sn.s ;
|
s = gn.s ++ sn.s ;
|
||||||
|
|||||||
Reference in New Issue
Block a user