public class ClearNLPDependencyParserAE
extends JCasAnnotator_ImplBase
http://code.google.com/p/clearnlp
Please see /ClearNLP-wrapper/resources/dependency/README for important information pertaining to the models provided for this parser. In particular, note that the output of the CLEAR parser is different than that of the Malt parser and so these two parsers may not be interchangeable (without some effort) for most use cases.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_MODEL_FILE_NAME |
static java.lang.String |
ENG_LEMMATIZER_DATA_FILE |
(package private) java.lang.String |
language |
protected AbstractMPAnalyzer |
lemmatizer |
protected java.net.URI |
lemmatizerDataFile |
Logger |
logger |
static java.lang.String |
PARAM_LEMMATIZER_DATA_FILE |
static java.lang.String |
PARAM_PARSER_MODEL_FILE_NAME |
static java.lang.String |
PARAM_USE_LEMMATIZER |
protected AbstractComponent |
parser |
protected java.net.URI |
parserModelUri |
protected boolean |
useLemmatizer |
Constructor and Description |
---|
ClearNLPDependencyParserAE() |
Modifier and Type | Method and Description |
---|---|
static AnalysisEngineDescription |
createAnnotatorDescription() |
void |
initialize(UimaContext context) |
void |
process(JCas jCas) |
final java.lang.String language
public Logger logger
public static final java.lang.String DEFAULT_MODEL_FILE_NAME
public static final java.lang.String ENG_LEMMATIZER_DATA_FILE
public static final java.lang.String PARAM_PARSER_MODEL_FILE_NAME
protected java.net.URI parserModelUri
public static final java.lang.String PARAM_LEMMATIZER_DATA_FILE
protected java.net.URI lemmatizerDataFile
public static final java.lang.String PARAM_USE_LEMMATIZER
protected boolean useLemmatizer
protected AbstractComponent parser
protected AbstractMPAnalyzer lemmatizer
public void initialize(UimaContext context) throws ResourceInitializationException
ResourceInitializationException
public void process(JCas jCas) throws AnalysisEngineProcessException
AnalysisEngineProcessException
public static AnalysisEngineDescription createAnnotatorDescription() throws ResourceInitializationException
ResourceInitializationException