diff --git a/lib/resource-1.0/Makefile b/lib/resource-1.0/Makefile index 861b3afcc..7daa44921 100644 --- a/lib/resource-1.0/Makefile +++ b/lib/resource-1.0/Makefile @@ -1,7 +1,7 @@ all: langs test test: - echo "gr -cat=S -number=11 -prob | tb" | gf -nocf -probs=lang.gfprob langs.gfcm + echo "gr -cat=Text -number=11 -prob | tb" | gf -nocf -probs=lang.gfprob langs.gfcm langs: echo "s ;; pm | wf langs.gfcm" | gf -src -nocf */Lang??*.gf english/LangEng.gf +RTS -M500M diff --git a/lib/resource-1.0/doc/German.dot b/lib/resource-1.0/doc/German.dot index 2927af446..e17ca1484 100644 --- a/lib/resource-1.0/doc/German.dot +++ b/lib/resource-1.0/doc/German.dot @@ -73,19 +73,19 @@ ParadigmsGer -> MorphoGer [style = "dotted"]; ParadigmsGer -> CatGer [style = "dotted"]; CatGer [style = "dashed", shape = "box", URL = "CatGer.gf"]; -CatGer -> TenseX [style = "solid"]; +CatGer -> CommonX [style = "solid"]; CatGer -> ResGer [style = "dotted"]; CatGer -> Prelude [style = "dotted"]; CatGer -> Cat [arrowhead = "empty", style = "dashed"]; Cat [style = "solid", shape = "ellipse", URL = "Cat.gf"]; -Cat -> Tense [style = "solid"]; +Cat -> Common [style = "solid"]; -TenseX [style = "dashed", shape = "box", URL = "TenseX.gf"]; -TenseX -> ParamX [style = "dotted"]; -TenseX -> Tense [arrowhead = "empty", style = "dashed"]; +CommonX [style = "dashed", shape = "box", URL = "CommonX.gf"]; +CommonX -> ParamX [style = "dotted"]; +CommonX -> Common [arrowhead = "empty", style = "dashed"]; -Tense [style = "solid", shape = "ellipse", URL = "Tense.gf"]; +Common [style = "solid", shape = "ellipse", URL = "Common.gf"]; MorphoGer [style = "dashed", shape = "ellipse", URL = "MorphoGer.gf"]; MorphoGer -> ResGer [style = "solid"]; @@ -93,12 +93,9 @@ MorphoGer -> Prelude [style = "dotted"]; MorphoGer -> Predef [style = "dotted"]; ResGer [style = "dashed", shape = "ellipse", URL = "ResGer.gf"]; -ResGer -> ParamGer [style = "solid"]; +ResGer -> ParamX [style = "solid"]; ResGer -> Prelude [style = "dotted"]; -ParamGer [style = "dashed", shape = "ellipse", URL = "ParamGer.gf"]; -ParamGer -> ParamX [style = "solid"]; - ParamX [style = "dashed", shape = "ellipse", URL = "ParamX.gf"]; ParamX -> Prelude [style = "dotted"]; diff --git a/lib/resource-1.0/doc/German.png b/lib/resource-1.0/doc/German.png index df3c71c86..7c6303897 100644 Binary files a/lib/resource-1.0/doc/German.png and b/lib/resource-1.0/doc/German.png differ diff --git a/lib/resource-1.0/doc/Lang.dot b/lib/resource-1.0/doc/Lang.dot index ec1fa508a..7de26e74c 100644 --- a/lib/resource-1.0/doc/Lang.dot +++ b/lib/resource-1.0/doc/Lang.dot @@ -13,6 +13,8 @@ Lang -> Question [style = "solid"]; Lang -> Relative [style = "solid"]; Lang -> Conjunction [style = "solid"]; Lang -> Phrase [style = "solid"]; +Lang -> Text [style = "solid"]; +Lang -> Idiom [style = "solid"]; Lang -> Structural [style = "solid"]; Lang -> Lexicon [style = "solid"]; @@ -46,6 +48,12 @@ Conjunction -> Cat [style = "solid"]; Phrase [style = "solid", shape = "ellipse", URL = "Phrase.gf"]; Phrase -> Cat [style = "solid"]; +Text [style = "solid", shape = "ellipse", URL = "Phrase.gf"]; +Text -> Cat [style = "solid"]; + +Idiom [style = "solid", shape = "ellipse", URL = "Phrase.gf"]; +Idiom -> Cat [style = "solid"]; + Structural [style = "solid", shape = "ellipse", URL = "Structural.gf"]; Structural -> Cat [style = "solid"]; @@ -53,8 +61,8 @@ Lexicon [style = "solid", shape = "ellipse", URL = "Lexicon.gf"]; Lexicon -> Cat [style = "solid"]; Cat [style = "solid", shape = "ellipse", URL = "Cat.gf"]; -Cat -> Tense [style = "solid"]; +Cat -> Common [style = "solid"]; -Tense [style = "solid", shape = "ellipse", URL = "Tense.gf"]; +Common [style = "solid", shape = "ellipse", URL = "Tense.gf"]; } diff --git a/lib/resource-1.0/doc/Lang.png b/lib/resource-1.0/doc/Lang.png index 4010ed9c9..3fc770382 100644 Binary files a/lib/resource-1.0/doc/Lang.png and b/lib/resource-1.0/doc/Lang.png differ diff --git a/lib/resource-1.0/doc/Resource-HOWTO.html b/lib/resource-1.0/doc/Resource-HOWTO.html index 92a5b7c8c..1b77a9191 100644 --- a/lib/resource-1.0/doc/Resource-HOWTO.html +++ b/lib/resource-1.0/doc/Resource-HOWTO.html @@ -7,7 +7,7 @@

Resource grammar writing HOWTO

Author: Aarne Ranta <aarne (at) cs.chalmers.se>
-Last update: Tue Feb 7 09:22:12 2006 +Last update: Tue Feb 21 16:34:52 2006

@@ -101,6 +101,8 @@ one of a small number of different types). Thus we have
  • Relative: construction of relative clauses
  • Conjunction: coordination of phrases
  • Phrase: construction of the major units of text and speech +
  • Text: construction of texts as sequences of phrases +
  • Idiom: idiomatic phrases such as existentials @@ -346,8 +348,8 @@ package.