org.apache.ctakes.dictionary.lookup.ae
Class LookupSpec

java.lang.Object
  extended by org.apache.ctakes.dictionary.lookup.ae.LookupSpec

@Immutable
public final class LookupSpec
extends java.lang.Object

A container for three related classes used to lookup terms in a dictionary and process hits found.

  • a lookup algorithm - a class with a lookup method that returns hits
  • a lookup initializer - a collection of methods used to initialize/control the lookup algorithm
  • a lookup consumer - class which processes hits found by the lookup algorithm, and typically adds annotations to the CAS
  • Author:
    Mayo Clinic

    Constructor Summary
    LookupSpec(LookupAlgorithm lookupAlgorithm, LookupInitializer lookupInitializer, LookupConsumer lookupConsumer)
               
     
    Method Summary
     LookupAlgorithm getLookupAlgorithm()
               
     LookupConsumer getLookupConsumer()
               
     LookupInitializer getLookupInitializer()
               
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    LookupSpec

    public LookupSpec(LookupAlgorithm lookupAlgorithm,
                      LookupInitializer lookupInitializer,
                      LookupConsumer lookupConsumer)
    Method Detail

    getLookupAlgorithm

    public LookupAlgorithm getLookupAlgorithm()

    getLookupInitializer

    public LookupInitializer getLookupInitializer()

    getLookupConsumer

    public LookupConsumer getLookupConsumer()