From 44300844dbebea6568607ff9b4c99f5ea6b85495 Mon Sep 17 00:00:00 2001 From: bringert Date: Thu, 20 Apr 2006 22:46:41 +0000 Subject: peacekeeping: add a module with phrases which are very different in different languages, e.g. greetings. The english and swedish implementations do not yet use the resource grammars, and the finnish is empty. --- examples/peacekeeping/english/PeacePhrases_Eng.gf | 12 ++++++++++++ examples/peacekeeping/english/Peace_Eng.gf | 5 ++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 examples/peacekeeping/english/PeacePhrases_Eng.gf (limited to 'examples/peacekeeping/english') diff --git a/examples/peacekeeping/english/PeacePhrases_Eng.gf b/examples/peacekeeping/english/PeacePhrases_Eng.gf new file mode 100644 index 000000000..73297d111 --- /dev/null +++ b/examples/peacekeeping/english/PeacePhrases_Eng.gf @@ -0,0 +1,12 @@ +--# -path=.:..:present:prelude + +concrete PeacePhrases_Eng of PeacePhrases = + PeaceCat_Eng ** open ResEng in { + +lin + Hello = { s = "hello" ++ "." } ; + GoodMorning = { s = ["good morning"] ++ "." } ; + GoodEvening = { s = ["good evening"] ++ "." } ; + WhatIsNamePron p = { s = ["what is"] ++ p.s!Gen ++ "name" ++ "?"; }; + +} \ No newline at end of file diff --git a/examples/peacekeeping/english/Peace_Eng.gf b/examples/peacekeeping/english/Peace_Eng.gf index f060a34e5..996582b20 100644 --- a/examples/peacekeeping/english/Peace_Eng.gf +++ b/examples/peacekeeping/english/Peace_Eng.gf @@ -1,3 +1,6 @@ --# -path=.:..:present:prelude -concrete Peace_Eng of Peace = PeaceSyntax_Eng, PeaceLexCommon_Eng, PeaceLexExt_Eng ** {} \ No newline at end of file +concrete Peace_Eng of Peace = + PeaceSyntax_Eng, PeaceLexCommon_Eng, + PeaceLexExt_Eng, PeacePhrases_Eng + ** {} -- cgit v1.2.3