summaryrefslogtreecommitdiff
path: root/examples/phrasebook/WordsEng.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-04-30 06:55:15 +0000
committeraarne <aarne@chalmers.se>2010-04-30 06:55:15 +0000
commit7a4cb3c2715c5dd61309b9bc0309142a44393c29 (patch)
tree4bfb5e613c547fadd120235bd220dc771aea066f /examples/phrasebook/WordsEng.gf
parente3c883fdb3859b4eef1f8e59737da171b4231f4e (diff)
small fixes in Phrasebook, particularly PSeeYouPlaceDate
Diffstat (limited to 'examples/phrasebook/WordsEng.gf')
-rw-r--r--examples/phrasebook/WordsEng.gf7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/phrasebook/WordsEng.gf b/examples/phrasebook/WordsEng.gf
index 620164472..80435eb06 100644
--- a/examples/phrasebook/WordsEng.gf
+++ b/examples/phrasebook/WordsEng.gf
@@ -164,8 +164,9 @@ concrete WordsEng of Words = SentencesEng **
-- Building phrases from strings is complicated: the solution is to use
-- mkText : Text -> Text -> Text ;
- PSeeYou d = mkText (lin Text (ss ("see you"))) (mkPhrase (mkUtt d)) ;
- PSeeYouPlace p d =
+ PSeeYouDate d = mkText (lin Text (ss ("see you"))) (mkPhrase (mkUtt d)) ;
+ PSeeYouPlace p = mkText (lin Text (ss ("see you"))) (mkPhrase (mkUtt p.at)) ;
+ PSeeYouPlaceDate p d =
mkText (lin Text (ss ("see you")))
(mkText (mkPhrase (mkUtt p.at)) (mkPhrase (mkUtt d))) ;
@@ -209,7 +210,7 @@ concrete WordsEng of Words = SentencesEng **
HowFarFrom x y = mkQS (mkQCl far_IAdv (mkNP y.name (SyntaxEng.mkAdv from_Prep x.name))) ;
HowFarFromBy x y t =
mkQS (mkQCl far_IAdv (mkNP (mkNP y.name (SyntaxEng.mkAdv from_Prep x.name)) t)) ;
- HowFarBy y t = mkQS (mkQCl far_IAdv (mkNP y.name t.by)) ;
+ HowFarBy y t = mkQS (mkQCl far_IAdv (mkNP y.name t)) ;
WhichTranspPlace trans place =
mkQS (mkQCl (mkIP which_IDet trans.name) (mkVP (mkVP L.go_V) place.to)) ;