mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-11 05:49:31 -06:00
41 lines
850 B
Plaintext
41 lines
850 B
Plaintext
concrete AdjectiveIna of Adjective = CatIna ** open ResIna, Prelude in {
|
|
|
|
lin
|
|
|
|
PositA a = {
|
|
s = \\_ => a.s ! AAdj Posit ;
|
|
-- isPre = a.isPre -- TODO: support adjectives that can be optionally placed before.
|
|
isPre = False
|
|
} ;
|
|
|
|
ComparA a np = {
|
|
s = \\_ => a.s ! AAdj Compar ++ "que" ++ np.s ! Nom ;
|
|
isPre = False
|
|
} ;
|
|
|
|
-- $SuperlA$ belongs to determiner syntax in $Noun$.
|
|
|
|
ComplA2 a np = {
|
|
s = \\_ => a.s ! AAdj Posit ++ a.c2 ++ np.s ! Acc ;
|
|
isPre = False
|
|
} ;
|
|
|
|
ReflA2 a = {
|
|
s = \\ag => a.s ! AAdj Posit ++ a.c2 ++ reflPron ! ag ;
|
|
isPre = False
|
|
} ;
|
|
|
|
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 = a ;
|
|
|
|
}
|