mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-18 01:09:32 -06:00
60 lines
1.2 KiB
Plaintext
60 lines
1.2 KiB
Plaintext
concrete AdjectiveGer of Adjective = CatGer ** open ResGer, Prelude in {
|
|
|
|
flags optimize=all_subs ;
|
|
|
|
lin
|
|
|
|
PositA a = {
|
|
s = a.s ! Posit ;
|
|
isPre = True
|
|
} ;
|
|
ComparA a np = {
|
|
s = \\af => a.s ! Compar ! af ++ conjThan ++ np.s ! NPC Nom ;
|
|
isPre = True
|
|
} ;
|
|
CAdvAP ad ap np = {
|
|
s = \\af => ad.s ++ ap.s ! af ++ ad.p ++ np.s ! NPC Nom ;
|
|
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 = table {
|
|
APred => a.s ! Posit ! APred ++ appPrep a.c2 np.s ;
|
|
af => appPrep a.c2 np.s ++ a.s ! Posit ! af
|
|
} ;
|
|
isPre = True
|
|
} ;
|
|
|
|
ReflA2 a = {
|
|
s = \\af => a.s ! Posit ! APred ++
|
|
appPrep a.c2 (\\k => usePrepC k (\c -> reflPron ! agrP3 Sg ! c)) ; --- 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
|
|
} ;
|
|
|
|
}
|