mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-24 10:22:50 -06:00
CompoundCN in Eng
This commit is contained in:
@@ -43,6 +43,8 @@ concrete ExtraEng of ExtraEngAbs = CatEng **
|
|||||||
UncNegImpSg imp = {s = imp.s ! neg ! ImpF Sg False} ;
|
UncNegImpSg imp = {s = imp.s ! neg ! ImpF Sg False} ;
|
||||||
UncNegImpPl imp = {s = imp.s ! neg ! ImpF Pl False} ;
|
UncNegImpPl imp = {s = imp.s ! neg ! ImpF Pl False} ;
|
||||||
|
|
||||||
|
CompoundCN a b = {s = \\n,c => a.s ! Sg ! Nom ++ b.s ! n ! c} ;
|
||||||
|
|
||||||
|
|
||||||
oper
|
oper
|
||||||
neg = CNeg False ;
|
neg = CNeg False ;
|
||||||
|
|||||||
@@ -9,4 +9,8 @@ abstract ExtraEngAbs = Extra ** {
|
|||||||
UncNegImpSg : Imp -> Utt; -- do not help yourself
|
UncNegImpSg : Imp -> Utt; -- do not help yourself
|
||||||
UncNegImpPl : Imp -> Utt; -- do not help yourselves
|
UncNegImpPl : Imp -> Utt; -- do not help yourselves
|
||||||
|
|
||||||
|
-- freely compounded nouns
|
||||||
|
|
||||||
|
CompoundCN : CN -> CN -> CN ; -- rock album
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ oper
|
|||||||
|
|
||||||
--3 Compound nouns
|
--3 Compound nouns
|
||||||
--
|
--
|
||||||
-- A compound noun ia an uninflected string attached to an inflected noun,
|
-- A compound noun is an uninflected string attached to an inflected noun,
|
||||||
-- such as "baby boom", "chief executive officer".
|
-- such as "baby boom", "chief executive officer".
|
||||||
|
|
||||||
mkN : Str -> N -> N
|
mkN : Str -> N -> N
|
||||||
|
|||||||
Reference in New Issue
Block a user