UseComp_estar/UseComp_ser in Extend

This commit is contained in:
Krasimir Angelov
2023-03-30 14:24:06 +02:00
parent ac2c5c52ac
commit 1c0a4f98ed
4 changed files with 18 additions and 2 deletions

View File

@@ -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

View File

@@ -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)

View File

@@ -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 {} ;

View File

@@ -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 ;