interlingua in resource-1.4

This commit is contained in:
aarne
2008-06-16 10:09:07 +00:00
parent a62bd0708a
commit f6ef4e2dfd
24 changed files with 2051 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
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 ;
}