summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-04-04 21:22:20 +0000
committeraarne <aarne@chalmers.se>2010-04-04 21:22:20 +0000
commitc87fe6f0f6e95b5e9c1eddc7b83de4ce36b6958e (patch)
tree02190e7f16db531e1a3cc64ba913650d851d2307
parent7a14507189f6af11a841aea0c9b39491417315f2 (diff)
DisambPhrasebookRon added
-rw-r--r--examples/phrasebook/DisambPhrasebookRon.gf11
-rw-r--r--examples/phrasebook/Makefile2
-rw-r--r--examples/phrasebook/missing.txt1
3 files changed, 13 insertions, 1 deletions
diff --git a/examples/phrasebook/DisambPhrasebookRon.gf b/examples/phrasebook/DisambPhrasebookRon.gf
new file mode 100644
index 000000000..c6cdf9aae
--- /dev/null
+++ b/examples/phrasebook/DisambPhrasebookRon.gf
@@ -0,0 +1,11 @@
+--# -path=.:present
+
+concrete DisambPhrasebookRon of Phrasebook = PhrasebookRon -
+ [PSentence, PQuestion, ObjIndef
+ ]
+ ** open SyntaxRon, Prelude in {
+lin
+ PSentence s = mkText s ; -- punctuation not optional
+ PQuestion s = mkText s ;
+ ObjIndef k = mkNP someSg_Det k ;
+}
diff --git a/examples/phrasebook/Makefile b/examples/phrasebook/Makefile
index d55ecc197..030b42fbe 100644
--- a/examples/phrasebook/Makefile
+++ b/examples/phrasebook/Makefile
@@ -1,7 +1,7 @@
all: pgf missing
pgf:
- gf -make PhrasebookEng.gf PhrasebookFin.gf PhrasebookFre.gf PhrasebookIta.gf PhrasebookRon.gf PhrasebookSwe.gf DisambPhrasebookEng.gf
+ gf -make PhrasebookEng.gf PhrasebookFin.gf PhrasebookFre.gf PhrasebookIta.gf PhrasebookRon.gf PhrasebookSwe.gf DisambPhrasebookEng.gf DisambPhrasebookRon.gf
missing:
echo "pg -missing | wf -file=missing.txt" | gf Phrasebook.pgf
diff --git a/examples/phrasebook/missing.txt b/examples/phrasebook/missing.txt
index 575fdfac4..cbcb07ccc 100644
--- a/examples/phrasebook/missing.txt
+++ b/examples/phrasebook/missing.txt
@@ -1,4 +1,5 @@
DisambPhrasebookEng :
+DisambPhrasebookRon : AHungry AScared AThirsty ATired Coffee Finnish French GExcusePol GPleaseGivePol GSorryPol GWhatsYourNamePol Swedish Tea
PhrasebookEng :
PhrasebookFin :
PhrasebookFre :