mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-13 00:50:11 -06:00
63 lines
1.3 KiB
Plaintext
63 lines
1.3 KiB
Plaintext
--# -coding=utf8
|
||
concrete AdjectiveBul of Adjective = CatBul ** open ResBul, Prelude in {
|
||
flags coding=utf8 ;
|
||
|
||
lin
|
||
PositA a = {
|
||
s = \\aform,_ => a.s ! aform ;
|
||
isPre = a.isPre
|
||
} ;
|
||
|
||
ComparA a np = {
|
||
s = \\aform,_ => "по" ++ hyphen ++ a.s ! aform ++ "от" ++ np.s ! RObj CPrep ;
|
||
isPre = True
|
||
} ;
|
||
UseComparA a = {
|
||
s = \\aform,_ => "по" ++ hyphen ++ a.s ! aform ;
|
||
isPre = True
|
||
} ;
|
||
|
||
AdjOrd ord = {
|
||
s = \\aform,_ => ord.s ! aform ;
|
||
isPre = True
|
||
} ;
|
||
|
||
-- $SuperlA$ belongs to determiner syntax in $Noun$.
|
||
|
||
CAdvAP ad ap np = {
|
||
s = \\a,p => ad.s ++ ap.s ! a ! p ++ ad.p ++ np.s ! RObj CPrep ;
|
||
isPre = False
|
||
} ;
|
||
|
||
ComplA2 a np = {
|
||
s = \\aform,p => a.s ! aform ++ a.c2.s ++ np.s ! RObj a.c2.c ;
|
||
isPre = False
|
||
} ;
|
||
|
||
ReflA2 a = {
|
||
s = \\aform,_ => a.s ! aform ++ linPrep a.c2 ++ ["себе си"] ;
|
||
isPre = False
|
||
} ;
|
||
|
||
SentAP ap sc = {
|
||
s = \\a,p => ap.s ! a ! p ++ sc.s ;
|
||
isPre = False
|
||
} ;
|
||
|
||
AdAP ada ap = {
|
||
s = \\a,p => ada.s ++ ap.s ! a ! p ;
|
||
isPre = ap.isPre
|
||
} ;
|
||
|
||
UseA2 a = {
|
||
s = \\aform,p => a.s ! aform ;
|
||
isPre = True
|
||
} ;
|
||
|
||
AdvAP ap adv = {
|
||
s = \\aform,p => ap.s ! aform ! p ++ adv.s ;
|
||
isPre = False
|
||
} ;
|
||
|
||
}
|