From d505fa5b6737b6b78fb65161cea3c2ac175494ab Mon Sep 17 00:00:00 2001 From: aarne Date: Fri, 9 Apr 2010 14:37:25 +0000 Subject: generalized the Person category in Phrasebook to plurals, added some new Words --- examples/phrasebook/Words.gf | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'examples/phrasebook/Words.gf') diff --git a/examples/phrasebook/Words.gf b/examples/phrasebook/Words.gf index 101fe19ab..a61cb48c3 100644 --- a/examples/phrasebook/Words.gf +++ b/examples/phrasebook/Words.gf @@ -78,6 +78,8 @@ abstract Words = Sentences ** { -- Actions (which can be expressed by different structures in different languages). -- Notice that also negations and questions can be formed from these. + AHasAge : Person -> Numeral -> Action ; -- I am seventy years + AHasChildren: Person -> Numeral -> Action ; -- I have six children AHasName : Person -> Name -> Action ; -- my name is Bond AHungry : Person -> Action ; -- I am hungry AIll : Person -> Action ; -- I am ill @@ -85,6 +87,7 @@ abstract Words = Sentences ** { ALike : Person -> Item -> Action ; -- I like this pizza ALive : Person -> Country -> Action ; -- I live in Sweden ALove : Person -> Person -> Action ; -- I love you + AMarried : Person -> Action ; -- I am married AScared : Person -> Action ; -- I am scared ASpeak : Person -> Language -> Action ; -- I speak Finnish AThirsty : Person -> Action ; -- I am thirsty @@ -95,6 +98,7 @@ abstract Words = Sentences ** { -- miscellaneous phrases + QWhatAge : Person -> Question ; -- how many years are you QWhatName : Person -> Question ; -- what is your name PropOpen : Place -> Proposition ; -- the museum is open @@ -107,6 +111,10 @@ abstract Words = Sentences ** { HowMuchCost : Item -> Question ; -- how much does the pizza cost ItCost : Item -> Price -> Proposition ; -- the pizza costs five euros + Wife, Husband : Person -> Person ; -- my wife, your husband + Son, Daughter : Person -> Person ; -- my son, your husband + Children : Person -> Person ; -- my children + -- week days Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday : Day ; -- cgit v1.2.3