public class StemmerAnnotator
extends org.cleartk.snowball.SnowballStemmer<org.cleartk.token.type.Token>
Constructor and Description |
---|
StemmerAnnotator() |
Modifier and Type | Method and Description |
---|---|
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
getDescription() |
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
getDescription(java.lang.String language) |
void |
process(org.apache.uima.jcas.JCas jCas) |
void |
setStem(org.cleartk.token.type.Token token,
java.lang.String stem) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static org.apache.uima.analysis_engine.AnalysisEngineDescription getDescription() throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationException
public static org.apache.uima.analysis_engine.AnalysisEngineDescription getDescription(java.lang.String language) throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationException
public void process(org.apache.uima.jcas.JCas jCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.cleartk.snowball.SnowballStemmer<org.cleartk.token.type.Token>
org.apache.uima.analysis_engine.AnalysisEngineProcessException
public void setStem(org.cleartk.token.type.Token token, java.lang.String stem)
setStem
in class org.cleartk.snowball.SnowballStemmer<org.cleartk.token.type.Token>