From e2817244a26f7197f5106de75493e000e926debd Mon Sep 17 00:00:00 2001 From: aarne Date: Mon, 15 Oct 2012 09:02:39 +0000 Subject: [PATCH] some fixes to make Phrasebook compilable more easily --- examples/phrasebook/GreetingsHin.gf | 2 +- examples/phrasebook/GreetingsUrd.gf | 2 +- examples/phrasebook/SentencesHin.gf | 6 +++++- examples/phrasebook/missing.txt | 15 --------------- 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) ** @@ -17,6 +18,9 @@ concrete SentencesHin of Sentences = NumeralHin ** SentencesI - [sing,IFemale, flags coding = utf8 ; +oper + mkGreeting = ss ; + oper myN = "मैं" ; mjh = "मुझ" ; 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