mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-16 08:19:31 -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} ;
|
||||
UncNegImpPl imp = {s = imp.s ! neg ! ImpF Pl False} ;
|
||||
|
||||
CompoundCN a b = {s = \\n,c => a.s ! Sg ! Nom ++ b.s ! n ! c} ;
|
||||
|
||||
|
||||
oper
|
||||
neg = CNeg False ;
|
||||
|
||||
@@ -9,4 +9,8 @@ abstract ExtraEngAbs = Extra ** {
|
||||
UncNegImpSg : Imp -> Utt; -- do not help yourself
|
||||
UncNegImpPl : Imp -> Utt; -- do not help yourselves
|
||||
|
||||
-- freely compounded nouns
|
||||
|
||||
CompoundCN : CN -> CN -> CN ; -- rock album
|
||||
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ oper
|
||||
|
||||
--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".
|
||||
|
||||
mkN : Str -> N -> N
|
||||
|
||||
Reference in New Issue
Block a user