diff options
| author | aarne <aarne@chalmers.se> | 2010-04-30 06:55:15 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2010-04-30 06:55:15 +0000 |
| commit | 7a4cb3c2715c5dd61309b9bc0309142a44393c29 (patch) | |
| tree | 4bfb5e613c547fadd120235bd220dc771aea066f /examples/phrasebook/WordsEng.gf | |
| parent | e3c883fdb3859b4eef1f8e59737da171b4231f4e (diff) | |
small fixes in Phrasebook, particularly PSeeYouPlaceDate
Diffstat (limited to 'examples/phrasebook/WordsEng.gf')
| -rw-r--r-- | examples/phrasebook/WordsEng.gf | 7 |
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)) ; |
