summaryrefslogtreecommitdiff
path: root/examples/phrasebook
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2012-10-15 09:02:39 +0000
committeraarne <aarne@chalmers.se>2012-10-15 09:02:39 +0000
commite2817244a26f7197f5106de75493e000e926debd (patch)
tree2977c64bc055e3eba383e2c132866802a66192f8 /examples/phrasebook
parenta3aa54a74691a14ebdabba41ce0554aafcf73854 (diff)
some fixes to make Phrasebook compilable more easily
Diffstat (limited to 'examples/phrasebook')
-rw-r--r--examples/phrasebook/GreetingsHin.gf2
-rw-r--r--examples/phrasebook/GreetingsUrd.gf2
-rw-r--r--examples/phrasebook/SentencesHin.gf6
-rw-r--r--examples/phrasebook/missing.txt15
4 files changed, 7 insertions, 18 deletions
diff --git a/examples/phrasebook/GreetingsHin.gf b/examples/phrasebook/GreetingsHin.gf
index 8d5c74489..97cba0489 100644
--- a/examples/phrasebook/GreetingsHin.gf
+++ b/examples/phrasebook/GreetingsHin.gf
@@ -1,4 +1,4 @@
-concrete GreetingsHin of Greetings = SentencesHin [mkGreeting] ** open (P=Prelude) in {
+concrete GreetingsHin of Greetings = SentencesHin [Greeting,mkGreeting] ** open (P=Prelude) in {
-- lincat
-- Greeting = {s : Str; lock_Text : {}} ;
diff --git a/examples/phrasebook/GreetingsUrd.gf b/examples/phrasebook/GreetingsUrd.gf
index 46ae37d8d..1d004e2ca 100644
--- a/examples/phrasebook/GreetingsUrd.gf
+++ b/examples/phrasebook/GreetingsUrd.gf
@@ -1,4 +1,4 @@
-concrete GreetingsUrd of Greetings = SentencesUrd [mkGreeting] ** open (P=Prelude) in {
+concrete GreetingsUrd of Greetings = SentencesUrd [mkGreeting,Greeting] ** open (P=Prelude) in {
-- lincat
-- Greeting = {s : Str; lock_Text : {}} ;
diff --git a/examples/phrasebook/SentencesHin.gf b/examples/phrasebook/SentencesHin.gf
index 607d86963..da2719795 100644
--- a/examples/phrasebook/SentencesHin.gf
+++ b/examples/phrasebook/SentencesHin.gf
@@ -1,4 +1,5 @@
-concrete SentencesHin of Sentences = NumeralHin ** SentencesI - [sing,IFemale,YouFamFemale,YouPolFemale,MMust,YouPlurFamFemale,YouPlurPolFemale,YouFamMale] with
+concrete SentencesHin of Sentences = NumeralHin ** SentencesI -
+ [sing,IFemale,YouFamFemale,YouPolFemale,MMust,YouPlurFamFemale,YouPlurPolFemale,YouFamMale,mkGreeting] with
(Syntax = SyntaxHin),
(Symbolic = SymbolicHin),
(Lexicon = LexiconHin) **
@@ -18,6 +19,9 @@ concrete SentencesHin of Sentences = NumeralHin ** SentencesI - [sing,IFemale,
flags coding = utf8 ;
oper
+ mkGreeting = ss ;
+
+oper
myN = "मैं" ;
mjh = "मुझ" ;
myra = "मेरा" ;
diff --git a/examples/phrasebook/missing.txt b/examples/phrasebook/missing.txt
index c3a9a888c..3fc81cd9a 100644
--- a/examples/phrasebook/missing.txt
+++ b/examples/phrasebook/missing.txt
@@ -1,20 +1,5 @@
DisambPhrasebookEng : ObjPlur ThesPlur ThesePlur ThosePlur
-PhrasebookBul : ObjPlur ThesPlur ThesePlur ThosePlur
-PhrasebookCat : MMust ObjPlur ThesPlur ThesePlur ThosePlur
-PhrasebookDan : ObjPlur ThesPlur ThesePlur ThosePlur
-PhrasebookDut : ObjPlur ThesPlur ThesePlur ThosePlur
PhrasebookEng : ObjPlur ThesPlur ThesePlur ThosePlur
-PhrasebookFin : ObjPlur ThesPlur ThesePlur ThosePlur
-PhrasebookFre : ObjPlur ThesPlur ThesePlur ThosePlur
-PhrasebookGer : ObjPlur ThesPlur ThesePlur ThosePlur
-PhrasebookHin : AScared ATired MMust ObjPlur ThesPlur ThesePlur ThosePlur
-PhrasebookIta : MCan MMust ObjPlur ThesPlur ThesePlur ThosePlur
-PhrasebookLav : ObjPlur ThesPlur ThesePlur ThosePlur
-PhrasebookNor : ObjPlur ThesPlur ThesePlur ThosePlur
-PhrasebookPes : AHasAge AHasChildren AHasRoom AHasTable AmountCurrency Belgian DrinkNumber ItCost MCan MKnow MMust NNumeral ObjNumber ObjPlur PNumber PPrice ThesPlur ThesePlur ThosePlur V2Wait VWait
-PhrasebookPol : ObjPlur ThesPlur ThesePlur ThosePlur
-PhrasebookRon : ObjPlur ThesPlur ThesePlur ThosePlur
-PhrasebookRus : Belgian Belgium Flemish ObjPlur ThesPlur ThesePlur ThosePlur
PhrasebookSpa : ObjPlur ThesPlur ThesePlur ThosePlur
PhrasebookSwe : ObjPlur ThesPlur ThesePlur ThosePlur
PhrasebookTha : ObjPlur ThesPlur ThesePlur ThosePlur