List of usage examples for edu.stanford.nlp.pipeline MorphaAnnotator MorphaAnnotator
public MorphaAnnotator(boolean verbose)
From source file:de.tudarmstadt.ukp.dkpro.core.corenlp.CoreNlpLemmatizer.java
License:Open Source License
@Override public void initialize(UimaContext aContext) throws ResourceInitializationException { super.initialize(aContext); annotatorProvider = new ModelProviderBase<MorphaAnnotator>(this, "stanfordnlp", "lemma") { {// w ww. jav a 2s . c o m setDefault(LOCATION, NOT_REQUIRED); } @Override protected MorphaAnnotator produceResource(URL aUrl) throws IOException { MorphaAnnotator annotator = new MorphaAnnotator(verbose); return annotator; } }; }