public class OpinionTargetExtractor extends Object
| Constructor and Description |
|---|
OpinionTargetExtractor(Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
annotateOTE(ixa.kaflib.KAFDocument kaf)
Extract Opinion Targets.
|
String |
annotateOTEsToKAF(ixa.kaflib.KAFDocument kaf)
Output annotation as NAF.
|
String |
annotateOTEsToOpenNLP(ixa.kaflib.KAFDocument kaf)
Output annotation in OpenNLP format.
|
public OpinionTargetExtractor(Properties properties) throws IOException
IOExceptionpublic final void annotateOTE(ixa.kaflib.KAFDocument kaf)
throws IOException
kaf - the KAFDocumentIOException - if io errorspublic final String annotateOTEsToKAF(ixa.kaflib.KAFDocument kaf)
kaf - the naf documentpublic final String annotateOTEsToOpenNLP(ixa.kaflib.KAFDocument kaf)
kaf - the naf documentCopyright © 2015 IXA pipes. All rights reserved.