public class AnnotationByLengthFilter
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_FILTER_ANNOTATION_TYPES
A set of annotation types that should be filtered.
|
static String |
PARAM_MAX_LENGTH
Any annotation in filterAnnotations shorter than this value will be removed.
|
static String |
PARAM_MIN_LENGTH
Any annotation in filterTypes shorter than this value will be removed.
|
Constructor and Description |
---|
AnnotationByLengthFilter() |
Modifier and Type | Method and Description |
---|---|
void |
process(org.apache.uima.jcas.JCas aJCas) |
getLogger, initialize
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_FILTER_ANNOTATION_TYPES
public static final String PARAM_MIN_LENGTH
public static final String PARAM_MAX_LENGTH
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
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.