From 0c5b068331bf1ca7d80d366d60139d016dab4d63 Mon Sep 17 00:00:00 2001 From: aarne Date: Fri, 10 Mar 2006 12:21:48 +0000 Subject: [PATCH] make pretest --- lib/resource-1.0/Makefile | 2 ++ lib/resource-1.0/doc/index.txt | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/lib/resource-1.0/Makefile b/lib/resource-1.0/Makefile index 911744438..eb86af344 100644 --- a/lib/resource-1.0/Makefile +++ b/lib/resource-1.0/Makefile @@ -3,6 +3,8 @@ all: present mathematical multimodal langs compiled test: echo "gr -cat=Text -number=11 -prob | tb" | gf -nocf -probs=lang.gfprob langs.gfcm +pretest: + echo "gr -cat=Cl -number=11 -prob | tb" | gf -probs=lang.gfprob -path=present:prelude -nocf ../present/Lang???.gfc langs: echo "s ;; pm | wf langs.gfcm" | gf -nocf -src */Lang??*.gf english/LangEng.gf +RTS -M800M -K100M cp -p */*.gfc */*.gfr ../alltenses diff --git a/lib/resource-1.0/doc/index.txt b/lib/resource-1.0/doc/index.txt index 01d380bf8..8f49b612f 100644 --- a/lib/resource-1.0/doc/index.txt +++ b/lib/resource-1.0/doc/index.txt @@ -74,6 +74,24 @@ Presentation: - example collections +==Quick start== + +Go to the main directory, compile the grammars, and run a test. +``` + cd GF/lib/resource-1.0 + make + make test +``` +This will take quite some time. An alternative is to use the +[precompiled grammar package ../../compiled.tgz]. Just do +``` + cd GF/lib/resource-1.0 + make pretest +``` +For more examples, see the +[Overview slides clt2006.html]. + + ===The language independent ground API=== @@ -252,6 +270,9 @@ grammar writing. [Grammars as Software Libraries gslt-sem-2006.html]. Slides with background and motivation for the resource grammar library. +[GF Resource Grammar Library Version 1.0 clt2006.html]. Slides +giving an overview of the library and practical hints on its use. + [How to write resource grammars Resource-HOWTO.html]. Helps you start if you want to add another language to the library.