|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.uima.analysis_component.AnalysisComponent_ImplBase org.apache.uima.analysis_component.Annotator_ImplBase org.apache.uima.analysis_component.JCasAnnotator_ImplBase org.apache.ctakes.padtermspotter.ae.PADHitAnnotator
public class PADHitAnnotator
Nested Class Summary | |
---|---|
(package private) class |
PADHitAnnotator.HitComparator
|
Field Summary | |
---|---|
static java.lang.String |
ANN_PART_ONE_TYPES_TO_IGNORE
List of type ids to be ignored from being considered as hits. |
static java.lang.String |
ANN_PART_TWO_TYPES_TO_IGNORE
List of type ids to be ignored from being considered as hits. |
static java.lang.String |
ANNOTATION_PART_ONE_FILTEROUT_NEGATED
Flag to specify whether to filter out negated hits identified for ANNOTATION_PART_ONE_OF_PAIR |
static java.lang.String |
ANNOTATION_PART_ONE_OF_PAIR
Part 1 of the pair (of annotations) that makes up a hit |
static java.lang.String |
ANNOTATION_PART_TWO_FILTEROUT_NEGATED
Flag to specify whether to filter out negated hits identified for ANNOTATION_PART_TWO_OF_PAIR |
static java.lang.String |
ANNOTATION_PART_TWO_OF_PAIR
Part 2 of the pair (of annotations) that makes up a hit |
static java.lang.String |
BACKUP_BOUNDARY_ANN_TYPE
Annotation type that defines a backup boundary within which the dictionary hits should be present. |
static java.lang.String |
BOUNDARY_ANN_TYPE
Annotation type that defines the boundary within which the dictionary hits should be present. |
static java.lang.String |
DISTANCE
Count of annotations defined by DISTANCE_ANN_TYPE between ANNOTATION_PART_ONE_OF_PAIR and ANNOTATION_PART_TWO_OF_PAIR |
static java.lang.String |
DISTANCE_ANN_TYPE
Annotation type that is used to count the distance. |
static org.apache.log4j.Logger |
iv_logger
|
static int |
NO_ANNOTATION_TYPE_SPECIFIED
|
static int |
NO_WINDOW_SIZE_SPECIFIED
|
Constructor Summary | |
---|---|
PADHitAnnotator()
|
Method Summary | |
---|---|
void |
initialize(org.apache.uima.UimaContext aCtx)
|
protected void |
loadStopWords(java.io.File stopWordsFile)
|
void |
process(org.apache.uima.jcas.JCas jcas)
|
Methods inherited from class org.apache.uima.analysis_component.JCasAnnotator_ImplBase |
---|
getRequiredCasInterface, process |
Methods inherited from class org.apache.uima.analysis_component.Annotator_ImplBase |
---|
getCasInstancesRequired, hasNext, next |
Methods inherited from class org.apache.uima.analysis_component.AnalysisComponent_ImplBase |
---|
batchProcessComplete, collectionProcessComplete, destroy, getContext, getResultSpecification, reconfigure, setResultSpecification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static org.apache.log4j.Logger iv_logger
public static java.lang.String ANNOTATION_PART_ONE_OF_PAIR
public static java.lang.String ANNOTATION_PART_TWO_OF_PAIR
public static java.lang.String DISTANCE
ANNOTATION_PART_ONE_OF_PAIR
and ANNOTATION_PART_TWO_OF_PAIR
public static java.lang.String DISTANCE_ANN_TYPE
public static java.lang.String BOUNDARY_ANN_TYPE
public static java.lang.String BACKUP_BOUNDARY_ANN_TYPE
public static java.lang.String ANNOTATION_PART_ONE_FILTEROUT_NEGATED
public static java.lang.String ANNOTATION_PART_TWO_FILTEROUT_NEGATED
public static java.lang.String ANN_PART_ONE_TYPES_TO_IGNORE
public static java.lang.String ANN_PART_TWO_TYPES_TO_IGNORE
public static int NO_WINDOW_SIZE_SPECIFIED
public static int NO_ANNOTATION_TYPE_SPECIFIED
Constructor Detail |
---|
public PADHitAnnotator()
Method Detail |
---|
public void initialize(org.apache.uima.UimaContext aCtx) 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
org.apache.uima.resource.ResourceInitializationException
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
protected void loadStopWords(java.io.File stopWordsFile) throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |