public class WriteClearNLPDescriptors extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WriteClearNLPDescriptors.Options |
Modifier and Type | Field and Description |
---|---|
static String |
DEP_NAME |
static String |
LVG_BASE_TOKEN_ANNOTATOR_PATH |
static String |
POS_TAGGER_PATH |
static String |
SENTENCE_DETECTOR_PATH |
static String |
SIMPLE_SEGMENTER_PATH |
static String |
SRL_NAME |
static String |
TOKENIZER_PATH |
Constructor and Description |
---|
WriteClearNLPDescriptors() |
Modifier and Type | Method and Description |
---|---|
static org.apache.uima.fit.factory.AggregateBuilder |
getPlaintextAggregateBuilder()
Builds the plaintext prepreprocessing pipeline for ClearNLP
|
static org.apache.uima.fit.factory.AggregateBuilder |
getTokenizedAggregateBuilder()
Builds the tokenized preprocessing pipeline for ClearNLP
|
static org.apache.uima.fit.factory.AggregateBuilder |
getTokenizedInfPosAggregateBuilder()
Builds the tokenizedInf preprocessing for ClearNLP
|
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
loadDescription(String pathToDescription)
Simple method to load xml description and return an AnalysisEngineDescription object
|
static void |
main(String[] args) |
public static final String SIMPLE_SEGMENTER_PATH
public static final String SENTENCE_DETECTOR_PATH
public static final String TOKENIZER_PATH
public static final String LVG_BASE_TOKEN_ANNOTATOR_PATH
public static final String POS_TAGGER_PATH
public static final String DEP_NAME
public static final String SRL_NAME
public static void main(String[] args) throws IOException, org.apache.uima.UIMAException, SAXException, org.kohsuke.args4j.CmdLineException
args
- IOException
org.apache.uima.UIMAException
SAXException
org.kohsuke.args4j.CmdLineException
public static org.apache.uima.fit.factory.AggregateBuilder getPlaintextAggregateBuilder() throws org.apache.uima.util.InvalidXMLException, IOException
org.apache.uima.util.InvalidXMLException
IOException
public static org.apache.uima.fit.factory.AggregateBuilder getTokenizedAggregateBuilder() throws org.apache.uima.util.InvalidXMLException, IOException
org.apache.uima.util.InvalidXMLException
IOException
public static org.apache.uima.fit.factory.AggregateBuilder getTokenizedInfPosAggregateBuilder() throws org.apache.uima.util.InvalidXMLException, IOException
org.apache.uima.util.InvalidXMLException
IOException
public static org.apache.uima.analysis_engine.AnalysisEngineDescription loadDescription(String pathToDescription) throws IOException, org.apache.uima.util.InvalidXMLException
pathToDescription
- IOException
org.apache.uima.util.InvalidXMLException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.