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/WordsFin.gf | |
| parent | e3c883fdb3859b4eef1f8e59737da171b4231f4e (diff) | |
small fixes in Phrasebook, particularly PSeeYouPlaceDate
Diffstat (limited to 'examples/phrasebook/WordsFin.gf')
| -rw-r--r-- | examples/phrasebook/WordsFin.gf | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/phrasebook/WordsFin.gf b/examples/phrasebook/WordsFin.gf index e4af6675f..995030707 100644 --- a/examples/phrasebook/WordsFin.gf +++ b/examples/phrasebook/WordsFin.gf @@ -164,8 +164,9 @@ concrete WordsFin of Words = SentencesFin ** -- Building phrases from strings is complicated: the solution is to use -- mkText : Text -> Text -> Text ; - PSeeYou d = mkText (lin Text (ss ("nähdään"))) (mkPhrase (mkUtt d)) ; - PSeeYouPlace p d = + PSeeYouDate d = mkText (lin Text (ss ("nähdään"))) (mkPhrase (mkUtt d)) ; + PSeeYouPlace p = mkText (lin Text (ss ("nähdään"))) (mkPhrase (mkUtt p.at)) ; + PSeeYouPlaceDate p d = mkText (lin Text (ss ("nähdään"))) (mkText (mkPhrase (mkUtt p.at)) (mkPhrase (mkUtt d))) ; @@ -203,12 +204,12 @@ concrete WordsFin of Words = SentencesFin ** mkQS (mkQCl far_IAdv (mkCl place.name t)) ; -- mkQS (mkQCl (mkIAdv far_IAdv t) y.name) ; - ---- TODO: meneekö keskustaan busseja WhichTranspPlace trans place = mkQS (mkQCl (mkIP which_IDet trans.name) (mkVP (mkVP L.go_V) place.to)) ; IsTranspPlace trans place = - mkQS (mkQCl (mkCl (mkCN trans.name place.to))) ; + mkQS (mkQCl (E.AdvPredNP place.to L.go_V (E.PartCN (trans.name)))) ; + -- meneekö keskustaan bussia -- modifiers of places |
