edu.stanford.nlp.pipeline
Class MorphaAnnotator

java.lang.Object
  extended by edu.stanford.nlp.pipeline.MorphaAnnotator
All Implemented Interfaces:
Annotator

public class MorphaAnnotator
extends java.lang.Object
implements Annotator

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.

Author:
Jenny Finkel

Constructor Summary
MorphaAnnotator()
           
MorphaAnnotator(boolean verbose)
           
 
Method Summary
 void annotate(Annotation annotation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MorphaAnnotator

public MorphaAnnotator()

MorphaAnnotator

public MorphaAnnotator(boolean verbose)
Method Detail

annotate

public void annotate(Annotation annotation)
Specified by:
annotate in interface Annotator


Stanford NLP Group