summaryrefslogtreecommitdiff
path: root/src/HelpFile
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2006-03-04 14:58:11 +0000
committeraarne <aarne@cs.chalmers.se>2006-03-04 14:58:11 +0000
commit3589e352cc49c99e9335a97a476fd827b382db2f (patch)
tree889da63a3e0a47c318f76ab7a4af8d01cb322b5f /src/HelpFile
parent3ff765620c9df08212275b5a3f207fd939a60922 (diff)
treebank creating script; duplicated consonants in LexiconEng
Diffstat (limited to 'src/HelpFile')
-rw-r--r--src/HelpFile16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/HelpFile b/src/HelpFile
index aff813043..bea9a7b9a 100644
--- a/src/HelpFile
+++ b/src/HelpFile
@@ -216,11 +216,19 @@ tb, tree_bank: tb
rf tb.xml | tb -c -- compare-test treebank from file
rf old.xml | tb -trees | tb -xml -- create new treebank from old
-lt, lookup_treebank: lt String
+ut, use_treebank: ut String
Lookup a string in a treebank and return the resulting trees.
- Use 'tb' to create a treebank and 'i -treebank' to read it in memory.
- flag:
- -treebank use this treebank (instead of the latest introduced one) TODO
+ Use 'tb' to create a treebank and 'i -treebank' to read one from
+ a file.
+ options:
+ -assocs show all string-trees associations in the treebank
+ -strings show all strings in the treebank
+ -raw return result as string, without typechecking it
+ flags:
+ -treebank use this treebank (instead of the latest introduced one)
+ examples:
+ ut "He adds this to that" | l -multi -- use treebank lookup as parser in translation
+ ut -assocs | grep "ComplV2" -- show all associations with ComplV2
tt, test_tokenizer: tt String
Show the token list sent to the parser when String is parsed.