testing treebanks

This commit is contained in:
aarne
2006-02-08 21:58:36 +00:00
parent a1e79f3634
commit 676058581d
9 changed files with 116 additions and 28 deletions

View File

@@ -201,11 +201,14 @@ at, apply_transfer: at (Module.Fun | Fun)
p -lang=Cncdecimal "123" | at num2bin | l -- convert dec to bin
tb, tree_bank: tb
Generate a multilingual treebank from a list of trees.
flags:
-xml wrap the treebank with XML tags
Generate a multilingual treebank from a list of trees (default) or compare
to an existing treebank.
options:
-c compare to existing xml-formatted treebank
-xml wrap the treebank (or comparison results) with XML tags
examples:
gr -cat=S -number=100 | tb
gr -cat=S -number=100 | tb -xml | wf tb.xml -- random treebank into file
rf tb.txt | tb -c -- read comparison treebank from file
tt, test_tokenizer: tt String
Show the token list sent to the parser when String is parsed.