From 50a2e2ea93e7280ae6063a1cbf0e8cb29fa78a09 Mon Sep 17 00:00:00 2001 From: aarne Date: Sat, 10 Apr 2010 08:18:03 +0000 Subject: regenerated clones with complete abstract and ready-maked Lexicon-based words in Phrasebook --- examples/phrasebook/Sentences.gf | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'examples/phrasebook/Sentences.gf') 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. -- cgit v1.2.3