public class SfstAnnotator
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Modifier and Type | Class and Description |
---|---|
static class |
SfstAnnotator.Mode |
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_LANGUAGE
Use this language instead of the document language to resolve the model.
|
static String |
PARAM_MODE |
static String |
PARAM_MODEL_ENCODING
Specifies the model encoding.
|
static String |
PARAM_MODEL_LOCATION
Load the model from this location instead of locating the model automatically.
|
static String |
PARAM_MORPH_MAPPING_LOCATION |
static String |
PARAM_PRINT_TAGSET
Write the tag set(s) to the log when a model is loaded.
|
static String |
PARAM_VARIANT
Override the default variant used to locate the model.
|
static String |
PARAM_WRITE_LEMMA
Write lemma information.
|
static String |
PARAM_WRITE_POS
Write part-of-speech information.
|
protected boolean |
printTagSet |
Constructor and Description |
---|
SfstAnnotator() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
initialize(org.apache.uima.UimaContext aContext) |
void |
process(org.apache.uima.jcas.JCas aJCas) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_WRITE_POS
true
public static final String PARAM_WRITE_LEMMA
true
public static final String PARAM_LANGUAGE
public static final String PARAM_VARIANT
public static final String PARAM_MODEL_LOCATION
public static final String PARAM_PRINT_TAGSET
protected boolean printTagSet
public static final String PARAM_MODEL_ENCODING
public static final String PARAM_MODE
public static final String PARAM_MORPH_MAPPING_LOCATION
public void initialize(org.apache.uima.UimaContext aContext) 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 process(org.apache.uima.jcas.JCas aJCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
public void destroy()
destroy
in interface org.apache.uima.analysis_component.AnalysisComponent
destroy
in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.