public class CLI extends Object
| Constructor and Description |
|---|
CLI()
Construct a CLI object with the three sub-parsers to manage the command
line parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
annotate(InputStream inputStream,
OutputStream outputStream) |
void |
eval() |
void |
loadAnnotateParameters() |
static void |
main(String[] args) |
void |
parseCLI(String[] args)
Parse the command interface parameters with the argParser.
|
void |
train() |
public CLI()
public static void main(String[] args) throws IOException, org.jdom2.JDOMException
IOExceptionorg.jdom2.JDOMExceptionpublic final void parseCLI(String[] args) throws IOException, org.jdom2.JDOMException
args - the arguments passed through the CLIIOException - exception if problems with the incoming dataorg.jdom2.JDOMException - if xml formatting exceptionpublic final void annotate(InputStream inputStream, OutputStream outputStream) throws IOException, org.jdom2.JDOMException
IOExceptionorg.jdom2.JDOMExceptionpublic final void train()
public final void eval()
throws IOException
IOExceptionpublic void loadAnnotateParameters()
Copyright © 2015. All rights reserved.