summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-04-20 09:34:38 +0000
committeraarne <aarne@chalmers.se>2010-04-20 09:34:38 +0000
commit9b4849b5e262d6aaba3bd0e3429bd2a4cb49c52b (patch)
tree414e5cbab1fdbbd49cd55cc1c07117cc845d4d04
parent66ab9700f64ffe861f8b9cb271710c0c35345401 (diff)
changed the name of example-based examples
-rw-r--r--examples/animals/OldQuestionsI.gfe (renamed from examples/animals/Koe.gfe)6
-rw-r--r--examples/animals/QuestionsI.gfe6
-rw-r--r--examples/phrasebook/Makefile4
-rw-r--r--examples/phrasebook/PhrasebookEng.gf3
-rw-r--r--examples/phrasebook/PhrasebookIta.gf2
-rw-r--r--examples/phrasebook/PhrasebookSwe.gf3
-rw-r--r--examples/phrasebook/missing.txt3
7 files changed, 17 insertions, 10 deletions
diff --git a/examples/animals/Koe.gfe b/examples/animals/OldQuestionsI.gfe
index 4bd169600..03c4ad071 100644
--- a/examples/animals/Koe.gfe
+++ b/examples/animals/OldQuestionsI.gfe
@@ -1,4 +1,4 @@
--- to compile: echo "eb -file=QuestionsI.gfe" | gf $GF_LIB_PATH/present/LangEng.gfo
+-- 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 {
@@ -9,7 +9,7 @@ incomplete concrete QuestionsI of Questions = open Lang in {
lin
Who love_V2 man_N = %ex Utt "who loves men" ;
- Whom man_N love_V2 = %ex Utt "whom does the man love and chase" ;
- Answer woman_N love_V2 man_N = %ex Utt "the woman loves and chases 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/QuestionsI.gfe b/examples/animals/QuestionsI.gfe
index 03c4ad071..4bd169600 100644
--- a/examples/animals/QuestionsI.gfe
+++ b/examples/animals/QuestionsI.gfe
@@ -1,4 +1,4 @@
--- to compile: echo "eb -file=QuestionsI.gfe" -probs=probs | gf $GF_LIB_PATH/present/LangEng.gfo
+-- to compile: echo "eb -file=QuestionsI.gfe" | gf $GF_LIB_PATH/present/LangEng.gfo
-- or use directly gf <mkAnimals.gfs
incomplete concrete QuestionsI of Questions = open Lang in {
@@ -9,7 +9,7 @@ incomplete concrete QuestionsI of Questions = open Lang in {
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" ;
+ Whom man_N love_V2 = %ex Utt "whom does the man love and chase" ;
+ Answer woman_N love_V2 man_N = %ex Utt "the woman loves and chases men" ;
}
diff --git a/examples/phrasebook/Makefile b/examples/phrasebook/Makefile
index aafda9a92..056b6b114 100644
--- a/examples/phrasebook/Makefile
+++ b/examples/phrasebook/Makefile
@@ -5,10 +5,10 @@ all: fin demo missing
demo: compdemo linkdemo
compdemo:
- $(compile) Eng Fre Ger Ita Ron Swe DisambPhrasebookEng
+ $(compile) Bul Eng Fre Ger Ita Ron Swe DisambPhrasebookEng
linkdemo:
- $(compile) -link Eng Fin Fre Ger Ita Ron Swe DisambPhrasebookEng
+ $(compile) -link Bul Eng Fin Fre Ger Ita Ron Swe DisambPhrasebookEng
#separate, because slow...
fin:
diff --git a/examples/phrasebook/PhrasebookEng.gf b/examples/phrasebook/PhrasebookEng.gf
index 366fe90df..b9cfd0998 100644
--- a/examples/phrasebook/PhrasebookEng.gf
+++ b/examples/phrasebook/PhrasebookEng.gf
@@ -6,6 +6,9 @@ concrete PhrasebookEng of Phrasebook =
SyntaxEng,
Prelude in {
+flags
+ language = en_US ;
+
lin
PGreeting g = lin Text g ;
diff --git a/examples/phrasebook/PhrasebookIta.gf b/examples/phrasebook/PhrasebookIta.gf
index 0f104a95a..bb08b0b45 100644
--- a/examples/phrasebook/PhrasebookIta.gf
+++ b/examples/phrasebook/PhrasebookIta.gf
@@ -7,6 +7,8 @@ concrete PhrasebookIta of Phrasebook =
SyntaxIta,
Prelude in {
+flags language = it_IT ;
+
lin
PGreeting g = lin Text (ss g.s) ;
diff --git a/examples/phrasebook/PhrasebookSwe.gf b/examples/phrasebook/PhrasebookSwe.gf
index 304949841..288ca2714 100644
--- a/examples/phrasebook/PhrasebookSwe.gf
+++ b/examples/phrasebook/PhrasebookSwe.gf
@@ -5,7 +5,8 @@ concrete PhrasebookSwe of Phrasebook =
WordsSwe ** open
SyntaxSwe,
Prelude in {
-
+flags
+ language = sv_SE ;
lin
PGreeting g = lin Text (ss g.s) ;
diff --git a/examples/phrasebook/missing.txt b/examples/phrasebook/missing.txt
index 200c5a081..bbafbd214 100644
--- a/examples/phrasebook/missing.txt
+++ b/examples/phrasebook/missing.txt
@@ -1,8 +1,9 @@
DisambPhrasebookEng :
+PhrasebookBul : AHasName AHasRoom AHasTable AHungry AIll AKnow ALike ALive ALove AMarried AReady AScared ASpeak AThirsty ATired AUnderstand AWant AWantGo Belgium Children Daughter English Finnish Flemish French Friday HowMuchCost Husband ItCost Italian Monday PSeeYou PSeeYouPlace PropClosed PropClosedDate PropClosedDay PropOpen PropOpenDate PropOpenDay QWhatAge QWhatName Romanian Saturday Son Sunday Swedish Thursday Tomorrow Tuesday Wednesday Wife
PhrasebookEng :
PhrasebookFin :
PhrasebookFre :
PhrasebookGer : Bar Chicken Cinema Coffee Dollar GNiceToMeetYou Hotel Lei Meat Museum PSeeYou PSeeYouPlace Park School Shop Suspect Tea Theatre Toilet
PhrasebookIta :
-PhrasebookRon : AHungry AThirsty Flemish GExcusePol GPleaseGivePol GSorryPol
+PhrasebookRon : GExcusePol GPleaseGivePol GSorryPol
PhrasebookSwe :