summaryrefslogtreecommitdiff
path: root/examples/phrasebook/Sentences.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-04-10 08:18:03 +0000
committeraarne <aarne@chalmers.se>2010-04-10 08:18:03 +0000
commit50a2e2ea93e7280ae6063a1cbf0e8cb29fa78a09 (patch)
tree201d3812073143a0aa30684f9fcb0fe2a30940b5 /examples/phrasebook/Sentences.gf
parentd505fa5b6737b6b78fb65161cea3c2ac175494ab (diff)
regenerated clones with complete abstract and ready-maked Lexicon-based words in Phrasebook
Diffstat (limited to 'examples/phrasebook/Sentences.gf')
-rw-r--r--examples/phrasebook/Sentences.gf10
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/phrasebook/Sentences.gf b/examples/phrasebook/Sentences.gf
index 773c823a6..89ada1095 100644
--- a/examples/phrasebook/Sentences.gf
+++ b/examples/phrasebook/Sentences.gf
@@ -36,7 +36,7 @@ abstract Sentences = Numeral ** {
Day ; -- weekday type e.g. "Friday"
Date ; -- definite date e.g. "on Friday"
Name ; -- name of person e.g. "NN"
- -- Numeral ; -- number expression 1 .. 999,999 e.g. "twenty"
+ Number ; -- number expression 1 .. 999,999 e.g. "twenty"
-- Many of the categories are accessible as Phrases, i.e. as translation units.
@@ -47,7 +47,7 @@ abstract Sentences = Numeral ** {
PObject : Object -> Phrase ;
PKind : Kind -> Phrase ;
PQuality : Quality -> Phrase ;
- PNumeral : Numeral -> Phrase ;
+ PNumber : Number -> Phrase ;
PPlace : Place -> Phrase ;
PPlaceKind : PlaceKind-> Phrase ;
PCurrency : Currency -> Phrase ;
@@ -79,7 +79,7 @@ abstract Sentences = Numeral ** {
-- Here are some general syntactic constructions.
ObjItem : Item -> Object ; -- this pizza
- ObjNumber : Numeral -> Kind -> Object ; -- five pizzas
+ ObjNumber : Number -> Kind -> Object ; -- five pizzas
ObjIndef : Kind -> Object ; -- a pizza
SuchKind : Quality -> Kind -> Kind ; -- Italian pizza
@@ -92,7 +92,7 @@ abstract Sentences = Numeral ** {
This, That, These, Those : Kind -> Item ; -- this pizza,...,those pizzas
The, Thes : Kind -> Item ; -- the pizza, the pizzas
- AmountCurrency : Numeral -> Currency -> Price ; -- five euros
+ AmountCurrency : Number -> Currency -> Price ; -- five euros
ThePlace : PlaceKind -> Place ; -- the bar
@@ -113,6 +113,8 @@ abstract Sentences = Numeral ** {
---- NameString : String -> Name ; ---- creates ambiguities with all words --%
+ NNumeral : Numeral -> Number ; -- numeral in words, e.g. "twenty"
+
-- Actions are typically language-dependent, not only lexically but also
-- structurally. However, these ones are mostly functorial.