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, isSentenceLevel
public static final WordNetPlusLemmaViewGenerator.VerbLemmaDictionary lemmaDict
public WordNetPlusLemmaViewGenerator(WordNetManager wn)
public void initialize(ResourceManager rm)
initialize
in class Annotator
rm
- configuration parameterspublic void addView(TextAnnotation ta)
Annotator
public String[] getRequiredViews()
Annotator
BasicAnnotatorService
to check for pre-requisites before
calling any single (external) Annotator
.getRequiredViews
in class Annotator
ViewNames
required by
this ViewGeneratorCopyright © 2017. All rights reserved.