mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-24 02:12:50 -06:00
short-phrase translation; added Swe; started doc in Phrasebook
This commit is contained in:
14
examples/phrasebook/PhrasebookSwe.gf
Normal file
14
examples/phrasebook/PhrasebookSwe.gf
Normal file
@@ -0,0 +1,14 @@
|
||||
--# -path=.:present
|
||||
|
||||
concrete PhrasebookSwe of Phrasebook =
|
||||
GreetingsSwe,
|
||||
WordsSwe ** open
|
||||
SyntaxSwe,
|
||||
Prelude in {
|
||||
|
||||
lin
|
||||
PSentence s = mkText s | lin Text (mkUtt s) ; -- optional .
|
||||
PQuestion s = mkText s | lin Text (mkUtt s) ; -- optional ?
|
||||
PGreeting g = mkPhrase g ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user