|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ctakes.dictionary.lookup.ae.DirectLookupInitializerImpl
public class DirectLookupInitializerImpl
Constructor Summary | |
---|---|
DirectLookupInitializerImpl(org.apache.uima.UimaContext aCtx,
java.util.Properties props)
|
Method Summary | |
---|---|
java.util.Map |
getContextMap(org.apache.uima.jcas.JCas jcas,
int windowBegin,
int windowEnd)
Gets context for the specified window. |
LookupAlgorithm |
getLookupAlgorithm(DictionaryEngine dictEngine)
Gets the LookupAlgorithm to be used to perform the lookup operations. |
java.util.Iterator |
getLookupTokenIterator(org.apache.uima.jcas.JCas jcas)
Gets an iteration of tokens that represent the finest grain used for a lookup operation. |
java.util.Iterator |
getLookupWindowIterator(org.apache.uima.jcas.JCas jcas)
Gets an iteration of windows. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirectLookupInitializerImpl(org.apache.uima.UimaContext aCtx, java.util.Properties props)
Method Detail |
---|
public LookupAlgorithm getLookupAlgorithm(DictionaryEngine dictEngine) throws org.apache.uima.analysis_engine.annotator.AnnotatorInitializationException
LookupInitializer
getLookupAlgorithm
in interface LookupInitializer
dictEngine
- DictionaryEngine that will execute lookup operations.
org.apache.uima.analysis_engine.annotator.AnnotatorInitializationException
public java.util.Iterator getLookupTokenIterator(org.apache.uima.jcas.JCas jcas) throws org.apache.uima.analysis_engine.annotator.AnnotatorInitializationException
LookupInitializer
getLookupTokenIterator
in interface LookupInitializer
jcas
- Use the JCas to pull out pre-existing feature structures to
build the LookupToken objects. Add attributes to the
LookupToken objects as you see fit.
org.apache.uima.analysis_engine.annotator.AnnotatorInitializationException
public java.util.Iterator getLookupWindowIterator(org.apache.uima.jcas.JCas jcas) throws org.apache.uima.analysis_engine.annotator.AnnotatorInitializationException
LookupInitializer
getLookupWindowIterator
in interface LookupInitializer
jcas
- Use the JCas to pull out pre-existing feature structures to
build LookupAnnotation objects.
org.apache.uima.analysis_engine.annotator.AnnotatorInitializationException
public java.util.Map getContextMap(org.apache.uima.jcas.JCas jcas, int windowBegin, int windowEnd)
LookupInitializer
getContextMap
in interface LookupInitializer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |