mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-21 18:59:32 -06:00
58 lines
1.1 KiB
Plaintext
58 lines
1.1 KiB
Plaintext
concrete AdjectiveAfr of Adjective = CatAfr ** open ResAfr, Prelude in
|
|
{
|
|
|
|
|
|
flags optimize=all_subs ;
|
|
|
|
lin
|
|
|
|
PositA a = {
|
|
s = a.s ! Posit ;
|
|
isPre = True
|
|
} ;
|
|
ComparA a np = {
|
|
s = \\af => a.s ! Compar ! af ++ "as" ++ np.s ! NPNom ; --afr
|
|
isPre = True
|
|
} ;
|
|
CAdvAP ad ap np = {
|
|
s = \\af => ad.s ++ ap.s ! af ++ ad.p ++ np.s ! NPNom ;
|
|
isPre = False
|
|
} ;
|
|
UseComparA a = {
|
|
s = \\af => a.s ! Compar ! af ;
|
|
isPre = True
|
|
} ;
|
|
AdjOrd a = {
|
|
s = a.s ;
|
|
isPre = True
|
|
} ;
|
|
|
|
-- $SuperlA$ belongs to determiner syntax in $Noun$.
|
|
|
|
ComplA2 a np = {
|
|
s = \\af => a.s ! Posit ! af ++ appPrep a.c2 np.s ;
|
|
isPre = True
|
|
} ;
|
|
|
|
ReflA2 a = {
|
|
s = \\af => a.s ! Posit ! APred ++ appPrep a.c2 (\\_ => reflPron ! agrP3 Sg) ; --- agr
|
|
isPre = True
|
|
} ;
|
|
|
|
SentAP ap sc = {
|
|
s = \\a => ap.s ! a ++ sc.s ;
|
|
isPre = False
|
|
} ;
|
|
|
|
AdAP ada ap = {
|
|
s = \\a => ada.s ++ ap.s ! a ;
|
|
isPre = ap.isPre
|
|
} ;
|
|
|
|
UseA2 a = {
|
|
s = a.s ! Posit ;
|
|
isPre = True
|
|
} ;
|
|
|
|
}
|