1
0
forked from GitHub/gf-core

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

@@ -290,10 +290,13 @@ execC co@(comm, opts0) sa@(sh@(st,(h,_,_,_)),a) = checkOptions st co >> case com
_ -> Nothing
returnArg (ATrms $ generateTrees opts gro mt) sa
CTreeBank | oElem doCompute opts -> do -- -c
let bank = prCommandArg a
returnArg (AString $ unlines $ testTreebank opts st bank) sa
CTreeBank -> do
let ts = strees $ s2t $ snd sa
comm = "command" ----
justOutput opts (mkTreebank opts st comm ts) sa
returnArg (AString $ unlines $ mkTreebank opts st comm ts) sa
CShowTreeGraph | oElem emitCode opts -> do -- -o
returnArg (AString $ visualizeTrees opts $ strees $ s2t a) sa