diff options
| author | bringert <bringert@cs.chalmers.se> | 2006-04-20 22:46:41 +0000 |
|---|---|---|
| committer | bringert <bringert@cs.chalmers.se> | 2006-04-20 22:46:41 +0000 |
| commit | 44300844dbebea6568607ff9b4c99f5ea6b85495 (patch) | |
| tree | 8ba1139d28440e8af36e824fa79277f0f1e34550 /examples/peacekeeping/swedish | |
| parent | 79c0cc23e6f318f66205526e27c1f4500ab3d79d (diff) | |
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.
Diffstat (limited to 'examples/peacekeeping/swedish')
| -rw-r--r-- | examples/peacekeeping/swedish/PeacePhrases_Swe.gf | 12 | ||||
| -rw-r--r-- | examples/peacekeeping/swedish/Peace_Swe.gf | 5 |
2 files changed, 16 insertions, 1 deletions
diff --git a/examples/peacekeeping/swedish/PeacePhrases_Swe.gf b/examples/peacekeeping/swedish/PeacePhrases_Swe.gf new file mode 100644 index 000000000..3373aa2e9 --- /dev/null +++ b/examples/peacekeeping/swedish/PeacePhrases_Swe.gf @@ -0,0 +1,12 @@ +--# -path=.:..:present:prelude + +concrete PeacePhrases_Swe of PeacePhrases = + PeaceCat_Swe ** open CommonScand in { + +lin + Hello = { s = "hej" ++ "." } ; + GoodMorning = { s = ["god morgon"] ++ "." } ; + GoodEvening = { s = ["god kväll"] ++ "." } ; + WhatIsNamePron p = { s = ["vad heter"] ++ p.s!NPNom ++ "?"; }; + +}
\ No newline at end of file diff --git a/examples/peacekeeping/swedish/Peace_Swe.gf b/examples/peacekeeping/swedish/Peace_Swe.gf index dff654a3d..0cb80a127 100644 --- a/examples/peacekeeping/swedish/Peace_Swe.gf +++ b/examples/peacekeeping/swedish/Peace_Swe.gf @@ -1,3 +1,6 @@ --# -path=.:..:present:prelude -concrete Peace_Swe of Peace = PeaceSyntax_Swe, PeaceLexCommon_Swe, PeaceLexExt_Swe ** {}
\ No newline at end of file +concrete Peace_Swe of Peace = + PeaceSyntax_Swe, PeaceLexCommon_Swe, + PeaceLexExt_Swe, PeacePhrases_Swe + ** {} |
