diff options
| author | aarne <aarne@chalmers.se> | 2010-01-27 17:51:15 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2010-01-27 17:51:15 +0000 |
| commit | 750a2639b0f46153c36f6c713f522db5bb2d8587 (patch) | |
| tree | eb021744f904a0e62b44d4012bea27368651faad /examples/animals/AnimalsEng.gf | |
| parent | 890d45579300f39d50a5a18a9f6feed8634ae8ba (diff) | |
command eb for example-based grammar conversion; see 'help eb' and the example in examples/animals/QuestionsI.gfe
Diffstat (limited to 'examples/animals/AnimalsEng.gf')
| -rw-r--r-- | examples/animals/AnimalsEng.gf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/animals/AnimalsEng.gf b/examples/animals/AnimalsEng.gf new file mode 100644 index 000000000..22942b735 --- /dev/null +++ b/examples/animals/AnimalsEng.gf @@ -0,0 +1,16 @@ +--# -path=.:present:prelude +--resource/english:resource/abstract:resource/../prelude + +concrete AnimalsEng of Animals = QuestionsEng ** + open LangEng, ParadigmsEng, IrregEng in { + + lin + Dog = regN "dog" ; + Cat = regN "cat" ; + Mouse = mk2N "mouse" "mice" ; + Lion = regN "lion" ; + Zebra = regN "zebra" ; + Chase = dirV2 (regV "chase") ; + Eat = dirV2 eat_V ; + See = dirV2 see_V ; +} |
