From 2ced613d81b1fb93e3e60c974eee73a8872d7093 Mon Sep 17 00:00:00 2001 From: aarne Date: Mon, 5 Apr 2010 16:36:38 +0000 Subject: generalized and extended Phrasebook in many ways --- examples/phrasebook/Words.gf | 39 ++++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) (limited to 'examples/phrasebook/Words.gf') diff --git a/examples/phrasebook/Words.gf b/examples/phrasebook/Words.gf index 0d364be20..594589569 100644 --- a/examples/phrasebook/Words.gf +++ b/examples/phrasebook/Words.gf @@ -4,27 +4,48 @@ abstract Words = Sentences ** { fun Wine, Beer, Water, Coffee, Tea : Kind ; Cheese, Fish, Pizza : Kind ; - Fresh, Warm, Italian, + Fresh, Warm, Expensive, Delicious, Boring, Good : Property ; - Bar, Restaurant, Toilet : PlaceKind ; + Bar, Restaurant, Toilet, + Museum, Airport, Station, Hospital, Church : PlaceKind ; Euro, Dollar, Lei : Currency ; - English, Finnish, French, Romanian, Swedish : Language ; + English, Finnish, French, Italian, Romanian, Swedish : Nationality ; + Belgian : Citizenship ; + Flemish : Language ; + Belgium : Country ; --- actions can be expressed by different structures in different languages + Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday : Day ; - AWant : Person -> Object -> Action ; - ALike : Person -> Item -> Action ; - AHave : Person -> Kind -> Action ; - ASpeak : Person -> Language -> Action ; - ALove : Person -> Person -> Action ; +-- actions can be expressed by different structures in different languages + AWant : Person -> Object -> Action ; + ALike : Person -> Item -> Action ; + AHave : Person -> Kind -> Action ; + ASpeak : Person -> Language -> Action ; + ALove : Person -> Person -> Action ; + ACitizen : Person -> Citizenship -> Action ; AHungry : Person -> Action ; AThirsty : Person -> Action ; ATired : Person -> Action ; + AIll : Person -> Action ; AScared : Person -> Action ; AUnderstand : Person -> Action ; + AKnow : Person -> Action ; + AWantGo : Person -> Place -> Action ; + ABePlace : Person -> Place -> Action ; + AHasName : Person -> Name -> Action ; + ALive : Person -> Country -> Action ; + + QWhatName : Person -> Question ; + + PropOpen : Place -> Proposition ; + PropClosed : Place -> Proposition ; + PropOpenDate : Place -> Date -> Proposition ; + PropClosedDate : Place -> Date -> Proposition ; + PropOpenDay : Place -> Day -> Proposition ; + PropClosedDay : Place -> Day -> Proposition ; } -- cgit v1.2.3