summaryrefslogtreecommitdiff
path: root/examples/regulus/toy0/Toy0I.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2007-06-11 07:49:30 +0000
committeraarne <aarne@cs.chalmers.se>2007-06-11 07:49:30 +0000
commita22871d07485821dac45a03380f77bdb28240ce6 (patch)
tree7109a1e3c41e5466010952ef5d887c88f34d6773 /examples/regulus/toy0/Toy0I.gf
parent2353e930e3f5ca7f3448860d59255ae7c0cd23b9 (diff)
initial check for unknown words in parsing
Diffstat (limited to 'examples/regulus/toy0/Toy0I.gf')
-rw-r--r--examples/regulus/toy0/Toy0I.gf20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/regulus/toy0/Toy0I.gf b/examples/regulus/toy0/Toy0I.gf
new file mode 100644
index 000000000..3d206d612
--- /dev/null
+++ b/examples/regulus/toy0/Toy0I.gf
@@ -0,0 +1,20 @@
+incomplete concrete Toy0I of Toy0 = open Syntax, Lexicon in {
+
+lincat
+ Spec = Det ;
+ Noun = N ;
+ NP = Syntax.NP ;
+ MAIN = Utt ;
+
+lin
+ Main np = mkUtt np ;
+ SpecNoun spec noun = mkNP spec noun ;
+
+ One = mkDet one_Quant ;
+ Two = mkDet (mkNum n2_Numeral) ;
+
+ Felis = cat_N ;
+ Canis = dog_N ;
+
+}
+