public class TrigramHolingAnnotator
extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
Jo
s.
The hole position is in the middle of the trigram: Jo_@_Jo.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PARAM_ALLOW_EMPTY_BIMS_FOR_JO |
static java.lang.String |
PARAM_BIM_ANNOTATION |
static java.lang.String |
PARAM_EMPTY_BIMS_FOR_ALL_JOS |
static java.lang.String |
PARAM_JO_ANNOTATION |
static java.lang.String |
PARAM_RELATION_NAME |
static java.lang.String |
PARAM_SENTENCE_ANNOTATION |
static java.lang.String |
PARAM_TOKEN_ANNOTATION |
Constructor and Description |
---|
TrigramHolingAnnotator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.uima.UimaContext aContext)
Initializes the annotator.
|
void |
process(org.apache.uima.jcas.JCas aJCas)
Process all sentences and annotate trigram JoBims witch holes.
|
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final java.lang.String PARAM_SENTENCE_ANNOTATION
public static final java.lang.String PARAM_TOKEN_ANNOTATION
public static final java.lang.String PARAM_JO_ANNOTATION
public static final java.lang.String PARAM_BIM_ANNOTATION
public static final java.lang.String PARAM_EMPTY_BIMS_FOR_ALL_JOS
public static final java.lang.String PARAM_RELATION_NAME
public static final java.lang.String PARAM_ALLOW_EMPTY_BIMS_FOR_JO
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.analysis_component.AnalysisComponent_ImplBase
aContext
- UIMA Annotator contextorg.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
aJCas
- the target CASorg.apache.uima.analysis_engine.AnalysisEngineProcessException