public class MeCabTagger extends SegmenterBase
PARAM_LANGUAGE, PARAM_STRICT_ZONING, PARAM_WRITE_FORM, PARAM_WRITE_SENTENCE, PARAM_WRITE_TOKEN, PARAM_ZONE_TYPES
Constructor and Description |
---|
MeCabTagger() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
initialize(org.apache.uima.UimaContext context)
Loads MeCab library from system default paths.
|
protected void |
process(org.apache.uima.jcas.JCas aJCas,
String text,
int zoneBegin) |
protected void |
tag(org.apache.uima.jcas.JCas aJCas,
String text,
int begin) |
createSentence, createToken, createToken, createToken, getLanguage, getLocale, getZoneTypes, isEmpty, isStrictZoning, isWriteSentence, isWriteToken, limit, process, trim, trimChar
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public void initialize(org.apache.uima.UimaContext context) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in class org.apache.uima.fit.component.JCasAnnotator_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void destroy()
destroy
in interface org.apache.uima.analysis_component.AnalysisComponent
destroy
in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
protected void process(org.apache.uima.jcas.JCas aJCas, String text, int zoneBegin) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class SegmenterBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
protected void tag(org.apache.uima.jcas.JCas aJCas, String text, int begin)
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.