mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-07 02:02:51 -06:00
Moved punctuation to a separate field, to allow spoken language grammars to omit it. Created top-level spoken language grammars. (all in peacekeeping)
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
--# -path=.:..:present:prelude
|
||||
|
||||
concrete PeacePhrases_Eng of PeacePhrases =
|
||||
PeaceCat_Eng ** open ResEng in {
|
||||
PeaceCat_Eng ** open ResEng, PeaceRes in {
|
||||
|
||||
lin
|
||||
Hello = { s = "hello" ++ "." } ;
|
||||
GoodMorning = { s = ["good morning"] ++ "." } ;
|
||||
GoodEvening = { s = ["good evening"] ++ "." } ;
|
||||
WhatIsNamePron p = { s = ["what is"] ++ p.s!Gen ++ "name" ++ "?"; };
|
||||
Hello = stop "hello" ;
|
||||
GoodMorning = stop ["good morning"];
|
||||
GoodEvening = stop ["good evening"] ;
|
||||
WhatIsNamePron p = quest (["what is"] ++ p.s!Gen ++ "name") ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user