diff options
| author | aarne <aarne@cs.chalmers.se> | 2007-06-27 08:23:45 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2007-06-27 08:23:45 +0000 |
| commit | 48b477037d7fc8fcbbf548c72bab654cc967a094 (patch) | |
| tree | 6d46669c3cd7d46e909a58947cf2493d02ccbff3 /examples/regulus | |
| parent | 3b93e0ffe22f2a8b71011fb8687d5b6bee6c972d (diff) | |
example-based Toy0
Diffstat (limited to 'examples/regulus')
| -rw-r--r-- | examples/regulus/toy0/Toy0GerE.gf | 6 | ||||
| -rw-r--r-- | examples/regulus/toy0/Toy0IE.gfe | 23 |
2 files changed, 29 insertions, 0 deletions
diff --git a/examples/regulus/toy0/Toy0GerE.gf b/examples/regulus/toy0/Toy0GerE.gf new file mode 100644 index 000000000..00b4b79a7 --- /dev/null +++ b/examples/regulus/toy0/Toy0GerE.gf @@ -0,0 +1,6 @@ +--# -path=.:present:prelude + +concrete Toy0GerE of Toy0 = Toy0IE with + (Grammar = GrammarGer), + (Lexicon = LexiconGer) ; + diff --git a/examples/regulus/toy0/Toy0IE.gfe b/examples/regulus/toy0/Toy0IE.gfe new file mode 100644 index 000000000..992708554 --- /dev/null +++ b/examples/regulus/toy0/Toy0IE.gfe @@ -0,0 +1,23 @@ +--# -resource=/home/aarne/GF/lib/present/LangEng.gfc +--# -path=.:present:prelude + +-- to compile: gf -examples Toy0IE.gfe + +incomplete concrete Toy0IE of Toy0 = open Grammar, Lexicon in { + +lincat + Spec = Det ; + Noun = N ; + NP = Utt ; + +lin + SpecNoun every_Det house_N = in Utt "every house" ; + + One = in Det "one" ; + Two = in Det "two" ; + + Felis = in N "cat" ; + Canis = in N "dog" ; + +} + |
