mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-20 16:56:18 -06:00
24 lines
631 B
Plaintext
24 lines
631 B
Plaintext
concrete AdjectiveSlo of Adjective = CatSlo ** open ResSlo, Prelude in {
|
|
|
|
lin
|
|
|
|
PositA a = adjFormsAdjective a ** {isPost = False} ;
|
|
|
|
AdAP ada ap = ap ** {s = \\g,n,c => ada.s ++ ap.s ! g ! n ! c} ;
|
|
|
|
ComplA2 a np =
|
|
let ap = adjFormsAdjective a
|
|
in
|
|
ap ** {
|
|
s = \\g,n,c => ap.s ! g ! n ! c ++ a.c.s ++ np.s ! a.c.c ;
|
|
isPost = True ;
|
|
} ;
|
|
|
|
UseA2 a = adjFormsAdjective a ** {isPost = False} ;
|
|
|
|
UseComparA a = adjFormsAdjective a ** {isPost = False} ; ---- TODO: this gives positive forms
|
|
|
|
AdvAP ap adv = ap ** {s = \\g,n,c => ap.s ! g ! n ! c ++ adv.s ; isPost = True} ;
|
|
|
|
}
|