public class CLI extends Object
| Constructor and Description |
|---|
CLI()
Construct a CLI object with the sub-parsers to manage the command
line parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
annotate(InputStream inputStream,
OutputStream outputStream)
Main method to do Named Entity tagging.
|
void |
crossValidate()
Main access to the cross validation.
|
void |
eval()
Main evaluation entry point.
|
void |
extractOte(InputStream inputStream,
OutputStream outputStream)
Main method to do Opinion Target Extraction (OTE).
|
static void |
main(String[] args)
Main entry point of ixa-pipe-nerc.
|
void |
parseCLI(String[] args)
Parse the command interface parameters with the argParser.
|
void |
train()
Main access to the train functionalities.
|
public CLI()
public static void main(String[] args) throws IOException, org.jdom2.JDOMException
args - the arguments passed through the CLIIOException - exception if input data not availableorg.jdom2.JDOMException - if problems with the xml formatting of NAFpublic 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 format problemspublic final void annotate(InputStream inputStream, OutputStream outputStream) throws IOException, org.jdom2.JDOMException
inputStream - the input stream containing the content to tagoutputStream - the output stream providing the named entitiesIOException - exception if problems in input or output streamsorg.jdom2.JDOMException - if xml formatting problemspublic final void extractOte(InputStream inputStream, OutputStream outputStream) throws IOException, org.jdom2.JDOMException
inputStream - the input stream containing the content to tagoutputStream - the output stream providing the opinion targetsIOException - exception if problems in input or output streamsorg.jdom2.JDOMException - if xml formatting problemspublic final void train()
throws IOException
IOException - input output exception if problems with corporapublic final void eval()
throws IOException
IOException - throws exception if test set not availablepublic final void crossValidate()
throws IOException
IOException - input output exception if problems with corporaCopyright © 2015 IXA pipes. All rights reserved.