summaryrefslogtreecommitdiff
path: root/examples/animals
diff options
context:
space:
mode:
Diffstat (limited to 'examples/animals')
-rw-r--r--examples/animals/Animals.gf12
-rw-r--r--examples/animals/AnimalsEng.gf15
-rw-r--r--examples/animals/AnimalsFre.gf15
-rw-r--r--examples/animals/AnimalsSwe.gf15
-rw-r--r--examples/animals/OldQuestionsI.gfe15
-rw-r--r--examples/animals/Questions.gf10
-rw-r--r--examples/animals/QuestionsEng.gf2
-rw-r--r--examples/animals/QuestionsFre.gf2
-rw-r--r--examples/animals/QuestionsI.gf30
-rw-r--r--examples/animals/QuestionsI.gfe16
-rw-r--r--examples/animals/QuestionsSwe.gf2
11 files changed, 0 insertions, 134 deletions
diff --git a/examples/animals/Animals.gf b/examples/animals/Animals.gf
deleted file mode 100644
index 33b56e740..000000000
--- a/examples/animals/Animals.gf
+++ /dev/null
@@ -1,12 +0,0 @@
--- The Question grammar specialized to animals.
-
-abstract Animals = Questions ** {
-
- flags startcat=Phrase ;
-
- fun
- -- a lexicon of animals and actions among them
- Dog, Cat, Mouse, Lion, Zebra : Entity ;
- Chase, Eat, See : Action ;
-}
-
diff --git a/examples/animals/AnimalsEng.gf b/examples/animals/AnimalsEng.gf
deleted file mode 100644
index dcebdd315..000000000
--- a/examples/animals/AnimalsEng.gf
+++ /dev/null
@@ -1,15 +0,0 @@
---# -path=.:present
-
-concrete AnimalsEng of Animals = QuestionsEng **
- open SyntaxEng, ParadigmsEng, IrregEng in {
-
- lin
- Dog = mkN "dog" ;
- Cat = mkN "cat" ;
- Mouse = mkN "mouse" "mice" ;
- Lion = mkN "lion" ;
- Zebra = mkN "zebra" ;
- Chase = mkV2 "chase" ;
- Eat = mkV2 eat_V ;
- See = mkV2 see_V ;
-}
diff --git a/examples/animals/AnimalsFre.gf b/examples/animals/AnimalsFre.gf
deleted file mode 100644
index 8d8f66c7a..000000000
--- a/examples/animals/AnimalsFre.gf
+++ /dev/null
@@ -1,15 +0,0 @@
---# -path=.:present
-
-concrete AnimalsFre of Animals = QuestionsFre **
- open SyntaxFre, ParadigmsFre, IrregFre in {
-
- lin
- Dog = mkN "chien" ;
- Cat = mkN "chat" ;
- Mouse = mkN "souris" feminine ;
- Lion = mkN "lion" masculine ;
- Zebra = mkN "zèbre" masculine ;
- Chase = mkV2 (mkV "chasser") ;
- Eat = mkV2 (mkV "manger") ;
- See = voir_V2 ;
-}
diff --git a/examples/animals/AnimalsSwe.gf b/examples/animals/AnimalsSwe.gf
deleted file mode 100644
index 8f256885a..000000000
--- a/examples/animals/AnimalsSwe.gf
+++ /dev/null
@@ -1,15 +0,0 @@
---# -path=.:present:prelude
-
-concrete AnimalsSwe of Animals = QuestionsSwe **
- open LangSwe, ParadigmsSwe, IrregSwe in {
-
- lin
- Dog = regN "hund" ;
- Cat = mk2N "katt" "katter" ;
- Mouse = mkN "mus" "musen" "möss" "mössen" ;
- Lion = mk2N "lejon" "lejon" ;
- Zebra = regN "zebra" ;
- Chase = dirV2 (regV "jaga") ;
- Eat = dirV2 äta_V ;
- See = dirV2 se_V ;
-}
diff --git a/examples/animals/OldQuestionsI.gfe b/examples/animals/OldQuestionsI.gfe
deleted file mode 100644
index 03c4ad071..000000000
--- a/examples/animals/OldQuestionsI.gfe
+++ /dev/null
@@ -1,15 +0,0 @@
--- to compile: echo "eb -file=QuestionsI.gfe" -probs=probs | gf $GF_LIB_PATH/present/LangEng.gfo
--- or use directly gf <mkAnimals.gfs
-
-incomplete concrete QuestionsI of Questions = open Lang in {
- lincat
- Phrase = Utt ;
- Entity = N ;
- Action = V2 ;
-
- lin
- Who love_V2 man_N = %ex Utt "who loves men" ;
- Whom man_N love_V2 = %ex Utt "whom does the man love" ;
- Answer woman_N love_V2 man_N = %ex Utt "the woman loves men" ;
-
-}
diff --git a/examples/animals/Questions.gf b/examples/animals/Questions.gf
deleted file mode 100644
index bb25e785d..000000000
--- a/examples/animals/Questions.gf
+++ /dev/null
@@ -1,10 +0,0 @@
--- Simple questions and answers, in present tense.
-
-abstract Questions = {
- cat
- Phrase ; Entity ; Action ;
- fun
- Who : Action -> Entity -> Phrase ; -- who chases X
- Whom : Entity -> Action -> Phrase ; -- whom does X chase
- Answer : Entity -> Action -> Entity -> Phrase ; -- X chases Y
-}
diff --git a/examples/animals/QuestionsEng.gf b/examples/animals/QuestionsEng.gf
deleted file mode 100644
index c8f51fb82..000000000
--- a/examples/animals/QuestionsEng.gf
+++ /dev/null
@@ -1,2 +0,0 @@
-concrete QuestionsEng of Questions = QuestionsI with
- (Syntax = SyntaxEng) ;
diff --git a/examples/animals/QuestionsFre.gf b/examples/animals/QuestionsFre.gf
deleted file mode 100644
index eb23829d3..000000000
--- a/examples/animals/QuestionsFre.gf
+++ /dev/null
@@ -1,2 +0,0 @@
-concrete QuestionsFre of Questions = QuestionsI with
- (Syntax = SyntaxFre) ;
diff --git a/examples/animals/QuestionsI.gf b/examples/animals/QuestionsI.gf
deleted file mode 100644
index 4373103e8..000000000
--- a/examples/animals/QuestionsI.gf
+++ /dev/null
@@ -1,30 +0,0 @@
--- to compile:
--- echo "eb -probs=probs -api -file=QuestionsI.gfe" | gf $GF_LIB_PATH/present/LangEng.gfo
--- or use directly gf <mkAnimals.gfs
-
-incomplete concrete QuestionsI of Questions = open Syntax in {
- lincat
- Phrase = Utt ;
- Entity = N ;
- Action = V2 ;
-
- lin
- Who love_V2 man_N = (
-mkUtt (mkQCl (mkQCl whoSg_IP (mkVP (mkVPSlash love_V2) (mkNP a_Art plNum man_N)))) -- 4.548068040131532e-11
-)
- ;
- Whom man_N love_V2 = (
---- WARNING: ambiguous example whom does the man love
-mkUtt (mkQCl (mkQCl whoPl_IP (mkClSlash (mkNP the_Art man_N) (mkVPSlash love_V2)))) -- 2.8425425250822075e-11
- --- mkUtt (mkQCl (mkQCl whoSg_IP (mkClSlash (mkNP the_Art man_N) (mkVPSlash love_V2)))) -- 2.8425425250822075e-11
-)
- ;
- Answer woman_N love_V2 man_N = (
---- WARNING: ambiguous example the woman loves men
-mkUtt (mkCl (mkCl (mkNP the_Art woman_N) (mkVP (mkVPSlash love_V2) (mkNP a_Art plNum man_N)))) -- 3.273034657650043e-14
- --- mkUtt (mkNP the_Art (mkCN (mkCN (mkCN woman_N) (mkNP a_Art plNum love_N)) (mkNP a_Art plNum man_N))) -- 1.6623594622841657e-20
- --- mkUtt (mkNP the_Art (mkCN (mkCN woman_N) (mkNP a_Art plNum (mkCN (mkCN love_N) (mkNP a_Art plNum man_N))))) -- 1.6623594622841657e-20
-)
- ;
-
-}
diff --git a/examples/animals/QuestionsI.gfe b/examples/animals/QuestionsI.gfe
deleted file mode 100644
index ea8515c25..000000000
--- a/examples/animals/QuestionsI.gfe
+++ /dev/null
@@ -1,16 +0,0 @@
--- to compile:
--- echo "eb -probs=probs -api -file=QuestionsI.gfe" | gf $GF_LIB_PATH/present/LangEng.gfo
--- or use directly gf <mkAnimals.gfs
-
-incomplete concrete QuestionsI of Questions = open Syntax in {
- lincat
- Phrase = Utt ;
- Entity = N ;
- Action = V2 ;
-
- lin
- Who love_V2 man_N = %ex Utt "who loves men" ;
- Whom man_N love_V2 = %ex Utt "whom does the man love" ;
- Answer woman_N love_V2 man_N = %ex Utt "the woman loves men" ;
-
-}
diff --git a/examples/animals/QuestionsSwe.gf b/examples/animals/QuestionsSwe.gf
deleted file mode 100644
index 9d59ecb2e..000000000
--- a/examples/animals/QuestionsSwe.gf
+++ /dev/null
@@ -1,2 +0,0 @@
-concrete QuestionsSwe of Questions = QuestionsI with
- (Lang = LangSwe) ;