summaryrefslogtreecommitdiff
path: root/examples/app/AppGer.gf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/app/AppGer.gf')
-rw-r--r--examples/app/AppGer.gf61
1 files changed, 61 insertions, 0 deletions
diff --git a/examples/app/AppGer.gf b/examples/app/AppGer.gf
new file mode 100644
index 000000000..6242fd9fa
--- /dev/null
+++ b/examples/app/AppGer.gf
@@ -0,0 +1,61 @@
+--# -path=.:src/chunk:src/translator:../examples/phrasebook/gfos
+
+concrete AppGer of App =
+ TenseGer,
+ NounGer - [PPartNP],
+ AdjectiveGer,
+ NumeralGer,
+ SymbolGer [
+ PN, Symb, String, CN, Card, NP, MkSymb, SymbPN, CNNumNP
+ ],
+ ConjunctionGer,
+ VerbGer [
+ UseV,ComplVV,SlashV2a,ComplSlash,UseComp,CompAP,CompNP,CompAdv,CompCN
+ ],
+ AdverbGer,
+ PhraseGer,
+ SentenceGer [
+ PredVP,SlashVP,ImpVP,
+ UseCl,UseQCl,UseSlash,SSubjS,UseRCl
+ ],
+ QuestionGer - [
+ ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP
+ ],
+ RelativeGer,
+ IdiomGer [
+ NP, VP, Tense, Cl, ProgrVP, ExistNP,
+ neutr, sjalv
+ ],
+---- ConstructionGer,
+
+ ChunkGer,
+
+ ExtensionsGer [
+ CompoundCN,AdAdV,UttAdV,ApposNP,
+ MkVPI, MkVPS, PredVPS, that_RP, who_RP
+ ],
+
+ DocumentationGer,
+ DictionaryGer
+
+ ,PhrasebookGer - [PSentence, PQuestion, PGreetingMale, PGreetingFemale, GObjectPlease, open_Adv, closed_A, open_A]
+
+ ** open MorphoGer, ResGer, ParadigmsGer, SyntaxGer, CommonScand, (E = ExtraGer), Prelude in {
+
+flags
+ literal=Symb ;
+
+-- to suppress punctuation
+lin
+ PSentence, PQuestion = \s -> lin Text (mkUtt s) ;
+ PGreetingMale, PGreetingFemale = \s -> lin Text s ;
+
+ GObjectPlease o = lin Text (mkUtt o) ;
+
+
+lin
+ PhrasePhr p = {s = "+" ++ p.s} | p ;
+
+ Phrase_Chunk p = p ;
+
+}