Files
odanoburu 0c8da77417 * correct tree in ud treebank
- needs Extend's EmbedSSlash

* (Por) add EmbedSSlash

* (Por) change verb form for RPasse AAnter
the current linearization of RPasse Anter tense combination is not
grammatical Portuguese, while the auxiliar in the present + participle
past form is not available anywhere (it is grammatical Portuguese but
not as common as simple past, which gets the RPast ASimul
linearization)
2019-04-22 11:35:51 -03:00
..
2019-04-22 11:35:51 -03:00

Treebanks for the GF Resource Grammar Library
AR
21 August 2017

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
  numeral-trees.txt -- trees representing a variety of numerals

To run a treebank on a language:

  > i alltenses/LangEng.gfo
  > 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