summaryrefslogtreecommitdiff
path: root/next-lib/src/interlingua/CatIna.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/CatIna.gf
parente66b27aa5b6939694af4a1aa02b1f6e49dc7f636 (diff)
interlingua updated for new resource
Diffstat (limited to 'next-lib/src/interlingua/CatIna.gf')
-rw-r--r--next-lib/src/interlingua/CatIna.gf83
1 files changed, 83 insertions, 0 deletions
diff --git a/next-lib/src/interlingua/CatIna.gf b/next-lib/src/interlingua/CatIna.gf
new file mode 100644
index 000000000..9dbaa5144
--- /dev/null
+++ b/next-lib/src/interlingua/CatIna.gf
@@ -0,0 +1,83 @@
+concrete CatIna of Cat = CommonX ** open ResIna, Prelude in {
+
+ flags optimize=all_subs ;
+
+ lincat
+
+-- Tensed/Untensed
+
+ S = {s : Str} ;
+ QS = {s : Order => Str} ; -- order is necessary to embed a "semantical" question into other propositions.
+ RS = {s : Agr => Str} ;
+ SSlash = SS ** {p2 : Str; c2 : Case} ;
+
+-- Sentence
+
+ Cl = ResIna.Clause;
+ ClSlash = ResIna.Clause ** {p2 : Str; c2 : Case} ;
+ Imp = {s : Polarity => Number => Str} ;
+
+-- Question
+
+ QCl = ResIna.Clause;
+ IP = {s : Case => Str; n : Number} ;
+ IComp = {s : Str} ;
+ IQuant = {s : Number => Str} ;
+ IDet = {s : Str ; n : Number} ;
+
+-- Relative
+
+ RCl = {s : ResIna.Tense => Anteriority => Polarity => Agr => Str ; c : Case} ;
+ RP = {s : Case => Str; a : Agr} ; -- number for "tal que / tales que"; person for reflexives
+
+-- Verb
+
+ VP = ResIna.VP;
+ VPSlash = ResIna.VP ** {p2 : Str; c2 : Case} ;
+ Comp = {s : Agr => Str} ;
+
+-- Adjective
+
+ AP = {s : Agr => Str ; isPre : Bool} ;
+
+-- Noun
+
+ CN = {s : Number => Str} ;
+ NP = ResIna.NP;
+ Pron = ResIna.NP ** {possForm : Str};
+ Det = {s : Case => Str ; n : Number} ;
+ Predet, Ord = {s : Str};
+ Card = {s : Str; n : Number } ;
+ Num = {s : Str; n : Number } ;
+ Quant = {s : Number => Case => Str} ;
+ Art = {s : Number => Case => Str} ;
+
+-- Numeral
+
+ Numeral = {s : CardOrd => Str ; n : Number} ;
+ Digits = {s : CardOrd => Str ; n : Number ; tail : DTail} ;
+
+-- Structural
+
+ Conj = {s1,s2 : Str ; n : Number} ;
+ Subj = {s : Str} ;
+ Prep = {c : Case; s : Str} ;
+
+-- Open lexical classes, e.g. Lexicon
+
+ V, VS, VQ, VA = Verb ;
+ V2, V2V, V2S, V2Q =
+ Verb ** {p2 : Str; c2 : Case} ; -- preposition + case of the complement.
+ V3, V2A = Verb ** {p2, p3 : Str; c2, c3 : Case} ;
+ VV = Verb;
+
+ A = {s : AForm => Str} ; -- TODO: optional pre-adjectives
+ A2 = {s : AForm => Str ; c2 : Str} ;
+
+ N = {s : Number => Str} ;
+ N2 = {s : Number => Str} ** {p2 : Str; c2 : Case} ;
+ N3 = {s : Number => Str} ** {p2,p3 : Str; c2,c3 : Case} ;
+
+ PN = {s : Str} ;
+
+}