diff options
| author | aarne <aarne@chalmers.se> | 2010-04-09 14:37:25 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2010-04-09 14:37:25 +0000 |
| commit | d505fa5b6737b6b78fb65161cea3c2ac175494ab (patch) | |
| tree | 316a778a7869c6d264e2cb4850f032a39cdbe16b /examples/phrasebook/Words.gf | |
| parent | 1903fe8bf99cf6f567669a803f4b725478309ad3 (diff) | |
generalized the Person category in Phrasebook to plurals, added some new Words
Diffstat (limited to 'examples/phrasebook/Words.gf')
| -rw-r--r-- | examples/phrasebook/Words.gf | 8 |
1 files changed, 8 insertions, 0 deletions
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 ; |
