illinois-lemmatizer insteadpublic class WordNetPlusLemmaViewGenerator extends Annotator
This lemmatizer lowercases words before finding their lemma. This could lead to errors. This requires the file resources/verb-lemDict.txt in the classpath, which can be obtained from cogcomp-common-resources.
| Modifier and Type | Class and Description |
|---|---|
static class |
WordNetPlusLemmaViewGenerator.VerbLemmaDictionary
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
static WordNetPlusLemmaViewGenerator.VerbLemmaDictionary |
lemmaDict
Deprecated.
|
config, isInitialized, requiredViews, viewName| Constructor and Description |
|---|
WordNetPlusLemmaViewGenerator(WordNetManager wn)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addView(TextAnnotation ta)
Deprecated.
create and add the view named by getViewName() to the TextAnnotation argument.
|
String[] |
getRequiredViews()
Deprecated.
Can be used internally by
BasicAnnotatorService to check for pre-requisites before
calling any single (external) Annotator. |
void |
initialize(ResourceManager rm)
Deprecated.
noop
|
doInitialize, getTagValues, getView, getViewName, isInitialized, isSentenceLevelpublic static final WordNetPlusLemmaViewGenerator.VerbLemmaDictionary lemmaDict
public WordNetPlusLemmaViewGenerator(WordNetManager wn)
public void initialize(ResourceManager rm)
initialize in class Annotatorrm - configuration parameterspublic void addView(TextAnnotation ta)
Annotatorpublic String[] getRequiredViews()
AnnotatorBasicAnnotatorService to check for pre-requisites before
calling any single (external) Annotator.getRequiredViews in class AnnotatorViewNames required by
this ViewGeneratorCopyright © 2017. All rights reserved.