|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ctakes.necontexts.NamedEntityContextAnalyzer org.apache.ctakes.padtermspotter.impl.DxContextAnalyzerImpl
public class DxContextAnalyzerImpl
Field Summary | |
---|---|
static java.lang.String |
CTX_HIT_KEY_ILLNESS_TYPE
|
Constructor Summary | |
---|---|
DxContextAnalyzerImpl()
|
Method Summary | |
---|---|
ContextHit |
analyzeContext(java.util.List<? extends org.apache.uima.jcas.tcas.Annotation> tokenList,
int scope)
This method is called by the ContextAnnotator. |
Methods inherited from class org.apache.ctakes.necontexts.NamedEntityContextAnalyzer |
---|
initialize, isBoundary, wrapAsFsmTokens |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.ctakes.necontexts.ContextAnalyzer |
---|
initialize, isBoundary |
Field Detail |
---|
public static final java.lang.String CTX_HIT_KEY_ILLNESS_TYPE
Constructor Detail |
---|
public DxContextAnalyzerImpl()
Method Detail |
---|
public ContextHit analyzeContext(java.util.List<? extends org.apache.uima.jcas.tcas.Annotation> tokenList, int scope)
ContextAnalyzer
This method analyzes a list of context annotations to determine if there is a "context hit" - some event that we are looking for in the context.
analyzeContext
in interface ContextAnalyzer
tokenList
- the annotations to be analyzedscope
- the scope of the context annotator. The value will be the
left, right, middle, or "all" context.
NegationContextAnalyzer.analyzeContext(List, int)
,
ContextAnnotator.LEFT_SCOPE
,
ContextAnnotator.RIGHT_SCOPE
,
ContextAnnotator.MIDDLE_SCOPE
,
ContextAnnotator.ALL_SCOPE
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |