added the old testsuite to lib/treebanks

This commit is contained in:
Aarne Ranta
2017-08-22 08:56:45 +03:00
parent 808e85ef05
commit db4c7a4d9f
2 changed files with 185 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ AR
Available treebanks:
rgl-exx.txt -- an old text treebank for RGL copied from GF/test/exx-resource.gfs
rgl-api-trees.txt -- the examples of the library synopsis in core RGL terms
ud-rgl-trees.txt -- trees constructed from Universal Dependencies documentation by using words from the common RGL Lexicon
@@ -13,3 +14,15 @@ To run a treebank on a language:
> i alltenses/LangSwe.gfo
> rf -file=ud-rgl-trees.txt -lines -tree | l -treebank
For regression testing:
> i alltenses/LangEng.gfo
> rf -file=rgl-api-trees.txt -lines -tree | l -treebank | wf -file=rgl-api-trees-Eng-v1.txt
-- edit and recompile LangEng.gf
> i alltenses/LangEng.gfo
> rf -file=rgl-api-trees.txt -lines -tree | l -treebank | wf -file=rgl-api-trees-Eng-v2.txt
> ! diff rgl-api-trees-Eng-v1.txt rgl-api-trees-Eng-v2.txt