mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 08:32:50 -06:00
change Food to Words in Phrasebook, since it's unpractical to have many small modules; added syntactic forms and words
This commit is contained in:
@@ -2,19 +2,20 @@
|
||||
|
||||
concrete PhrasebookRon of Phrasebook =
|
||||
GreetingsRon,
|
||||
FoodRon
|
||||
WordsRon
|
||||
** open
|
||||
SyntaxRon,
|
||||
ResRon, ---- for Num to Utt
|
||||
Prelude in {
|
||||
|
||||
lincat
|
||||
Phrase = Utt ;
|
||||
Phrase = Text ;
|
||||
|
||||
lin
|
||||
PNumeral n = mkPhrase (ss ((mkCard <n : Numeral>).sp ! Masc)) ; ----
|
||||
PGreeting g = mkPhrase g ;
|
||||
PSentence s = s ;
|
||||
PSentence s = mkText s ;
|
||||
PQuestion s = mkText s ;
|
||||
|
||||
oper
|
||||
mkPhrase : SS -> Utt = \s -> lin Utt s ;
|
||||
|
||||
Reference in New Issue
Block a user