mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-04 16:52:50 -06:00
See https://github.com/daherb/GF orhttps://gitlab.cip.ifi.lmu.de/langeh/gf for full git commit history
46 lines
882 B
Plaintext
46 lines
882 B
Plaintext
concrete AdjectiveLat of Adjective = CatLat ** open ResLat, Prelude in {
|
|
|
|
|
|
lin
|
|
|
|
PositA a = -- A -> AP
|
|
{
|
|
s = table { Ag g n c => a.s ! Posit ! Ag g n c } ;
|
|
};
|
|
|
|
{-
|
|
ComparA a np = {
|
|
s = \\_ => a.s ! AAdj Compar ++ "than" ++ 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 = \\g,n,c => ada.s ++ ap.s ! g ! n ! c ;
|
|
-- isPre = ap.isPre
|
|
-- } ;
|
|
|
|
UseA2 a = -- A2 -> AP
|
|
{
|
|
s = table { Ag g n c => a.s ! Posit ! Ag g n c } ;
|
|
} ;
|
|
|
|
}
|