public class PosFilter
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_ADJ
Keep/remove adjectives (true: keep, false: remove)
|
static String |
PARAM_ADV
Keep/remove adverbs (true: keep, false: remove)
|
static String |
PARAM_ART
Keep/remove articles (true: keep, false: remove)
|
static String |
PARAM_CARD
Keep/remove cardinal numbers (true: keep, false: remove)
|
static String |
PARAM_CONJ
Keep/remove conjunctions (true: keep, false: remove)
|
static String |
PARAM_N
Keep/remove nouns (true: keep, false: remove)
|
static String |
PARAM_O
Keep/remove "others" (true: keep, false: remove)
|
static String |
PARAM_PP
Keep/remove prepositions (true: keep, false: remove)
|
static String |
PARAM_PR
Keep/remove pronouns (true: keep, false: remove)
|
static String |
PARAM_PUNC
Keep/remove punctuation (true: keep, false: remove)
|
static String |
PARAM_TYPE_TO_REMOVE
The fully qualified name of the type that should be filtered.
|
static String |
PARAM_V
Keep/remove verbs (true: keep, false: v)
|
Constructor and Description |
---|
PosFilter() |
Modifier and Type | Method and Description |
---|---|
void |
process(org.apache.uima.jcas.JCas jcas) |
getLogger, initialize
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_TYPE_TO_REMOVE
public static final String PARAM_ADJ
public static final String PARAM_ADV
public static final String PARAM_ART
public static final String PARAM_CARD
public static final String PARAM_CONJ
public static final String PARAM_N
public static final String PARAM_O
public static final String PARAM_PP
public static final String PARAM_PR
public static final String PARAM_PUNC
public static final String PARAM_V
public void process(org.apache.uima.jcas.JCas jcas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2011–2015. All rights reserved.