diff options
| author | aarne <aarne@chalmers.se> | 2010-03-30 15:39:11 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2010-03-30 15:39:11 +0000 |
| commit | de909a4e44419562ca4ba071e15cf9b8e00288be (patch) | |
| tree | fdae4da7fbce3edb0276a93219495c019fdaca08 /examples/phrasebook/Sentences.gf | |
| parent | 4bae49c6341fc831f474f1fffc0f763892ef696d (diff) | |
disambiguation in Phrasebook grammars, PGF server, and the GUI
Diffstat (limited to 'examples/phrasebook/Sentences.gf')
| -rw-r--r-- | examples/phrasebook/Sentences.gf | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/examples/phrasebook/Sentences.gf b/examples/phrasebook/Sentences.gf index 77baf3785..97ca5d3bf 100644 --- a/examples/phrasebook/Sentences.gf +++ b/examples/phrasebook/Sentences.gf @@ -7,8 +7,15 @@ abstract Sentences = Numeral ** { Place ; PlaceKind ; Currency ; Price ; Language ; Person ; Action ; + -- abstract parameters + Politeness ; + -- Gender ; + fun -- these phrases are formed here, not in Phrasebook, as they are functorial + PSentence : Politeness -> Sentence -> Phrase ; + PQuestion : Politeness -> Question -> Phrase ; + PObject : Object -> Phrase ; PKind : Kind -> Phrase ; PQuality : Quality -> Phrase ; @@ -41,8 +48,11 @@ abstract Sentences = Numeral ** { Very : Quality -> Quality ; Too : Quality -> Quality ; + ThePlace : PlaceKind -> Place ; + I, You : Person ; - ThePlace : PlaceKind -> Place ; + Polite, Familiar : Politeness ; + -- Male, Female : Gender ; } |
