public class FilterAnnotator
extends JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
private static int |
DISORDER_ANNOTATIONS |
private java.util.List<Annotation> |
removeList |
private int |
retainAnnType |
private int |
retainAttrTypeId |
Constructor and Description |
---|
FilterAnnotator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(UimaContext annotCtx) |
private boolean |
isValid(Annotation ann) |
void |
process(JCas jcas)
Checks if the annotation is of the type to be retained.
|
private static int DISORDER_ANNOTATIONS
private int retainAnnType
private int retainAttrTypeId
private java.util.List<Annotation> removeList
public void initialize(UimaContext annotCtx) throws ResourceInitializationException
ResourceInitializationException
public void process(JCas jcas) throws AnalysisEngineProcessException
AnalysisEngineProcessException
private boolean isValid(Annotation ann)