|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.pipeline.MorphaAnnotator
public class MorphaAnnotator
This class will add the lemmas of all the words to the Annotation.
It assumes that the Annotation already contains the tokenized words as
a List<CoreLabel> for a list of sentences under the
SentencesAnnotation.class key.
The Annotator adds lemma information to each CoreLabel,
in the LemmaAnnotation.class.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface edu.stanford.nlp.pipeline.Annotator |
|---|
Annotator.Requirement |
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
MorphaAnnotator()
|
|
MorphaAnnotator(boolean verbose)
|
|
| Method Summary | |
|---|---|
void |
annotate(Annotation annotation)
Given an annotation, perform a task on this annotaiton. |
java.util.Set<Annotator.Requirement> |
requirementsSatisfied()
Returns a set of requirements for which tasks this annotator can provide. |
java.util.Set<Annotator.Requirement> |
requires()
Returns the set of tasks which this annotator requires in order to perform. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MorphaAnnotator()
public MorphaAnnotator(boolean verbose)
| Method Detail |
|---|
public void annotate(Annotation annotation)
Annotator
annotate in interface Annotatorpublic java.util.Set<Annotator.Requirement> requires()
Annotator
requires in interface Annotatorpublic java.util.Set<Annotator.Requirement> requirementsSatisfied()
Annotator
requirementsSatisfied in interface Annotator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||