mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42: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 PhrasebookEng of Phrasebook =
|
||||
GreetingsEng,
|
||||
FoodEng ** open
|
||||
WordsEng ** open
|
||||
(R = Roles),
|
||||
SyntaxEng,
|
||||
ResEng, ---- for Num to Utt
|
||||
Prelude in {
|
||||
|
||||
lincat
|
||||
Phrase = Utt ;
|
||||
Phrase = Text ;
|
||||
|
||||
lin
|
||||
PNumeral n =
|
||||
mkPhrase ((SyntaxEng.mkCard <n : Numeral>).s ! Nom) ; ----
|
||||
PSentence s = s ;
|
||||
PSentence s = mkText s ;
|
||||
PQuestion s = mkText s ;
|
||||
|
||||
PGreeting g = mkPhrase g.s ;
|
||||
---- PGreeting p s h g = mkPhrase (g.s ++ p.s ++ s.s ++ h.s) ;
|
||||
|
||||
Reference in New Issue
Block a user