1
0
forked from GitHub/gf-core

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:
bringert
2006-04-21 21:53:20 +00:00
parent 6806c98e29
commit 46f17bb535
19 changed files with 105 additions and 46 deletions

View File

@@ -1,3 +1,3 @@
--# -path=.:present:prelude
concrete PeaceCat_Swe of PeaceCat = CatSwe ** PeaceCatI with (Cat = CatSwe);
concrete PeaceCat_Swe of PeaceCat = CatSwe ** PeaceCatI with (Lang = LangSwe);

View File

@@ -1,12 +1,12 @@
--# -path=.:..:present:prelude
concrete PeacePhrases_Swe of PeacePhrases =
PeaceCat_Swe ** open CommonScand in {
PeaceCat_Swe ** open CommonScand, PeaceRes in {
lin
Hello = { s = "hej" ++ "." } ;
GoodMorning = { s = ["god morgon"] ++ "." } ;
GoodEvening = { s = ["god kväll"] ++ "." } ;
WhatIsNamePron p = { s = ["vad heter"] ++ p.s!NPNom ++ "?"; };
Hello = stop "hej" ;
GoodMorning = stop ["god morgon"] ;
GoodEvening = stop ["god kväll"] ;
WhatIsNamePron p = stop (["vad heter"] ++ p.s!NPNom) ;
}

View File

@@ -0,0 +1,8 @@
--# -path=.:..:present:prelude
concrete PeaceSpoken_Swe of PeaceSpoken =
Peace_Swe ** {
flags startcat = PhraseSpoken ;
}

View File

@@ -5,6 +5,6 @@ concrete Peace_Swe of Peace =
PeaceLexExt_Swe, PeacePhrases_Swe
** {
flags startcat = Phr ;
flags startcat = PhraseWritten ;
}