summaryrefslogtreecommitdiff
path: root/next-lib/src/interlingua/AdjectiveIna.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2009-03-13 16:05:13 +0000
committeraarne <aarne@cs.chalmers.se>2009-03-13 16:05:13 +0000
commit9b636333297ef49caece5ddb523e4bef7b8aea83 (patch)
treee06ad1f15622e671b42d86af23224c4465400456 /next-lib/src/interlingua/AdjectiveIna.gf
parente66b27aa5b6939694af4a1aa02b1f6e49dc7f636 (diff)
interlingua updated for new resource
Diffstat (limited to 'next-lib/src/interlingua/AdjectiveIna.gf')
-rw-r--r--next-lib/src/interlingua/AdjectiveIna.gf44
1 files changed, 44 insertions, 0 deletions
diff --git a/next-lib/src/interlingua/AdjectiveIna.gf b/next-lib/src/interlingua/AdjectiveIna.gf
new file mode 100644
index 000000000..4b54a3cfe
--- /dev/null
+++ b/next-lib/src/interlingua/AdjectiveIna.gf
@@ -0,0 +1,44 @@
+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 = {
+ s = \\_ => a.s ! AAdj Posit ;
+-- isPre = a.isPre -- TODO: support adjectives that can be optionally placed before.
+ isPre = False
+ } ;
+
+}