diff options
| author | aarne <aarne@chalmers.se> | 2010-04-05 16:36:38 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2010-04-05 16:36:38 +0000 |
| commit | 2ced613d81b1fb93e3e60c974eee73a8872d7093 (patch) | |
| tree | 1cf145a675fc1e69210b41810cf50688493236a1 /examples/phrasebook/Words.gf | |
| parent | c87fe6f0f6e95b5e9c1eddc7b83de4ce36b6958e (diff) | |
generalized and extended Phrasebook in many ways
Diffstat (limited to 'examples/phrasebook/Words.gf')
| -rw-r--r-- | examples/phrasebook/Words.gf | 39 |
1 files changed, 30 insertions, 9 deletions
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 ; } |
