org.apache.ctakes.drugner.fsm.machines.elements
Class StrengthUnitFSM

java.lang.Object
  extended by org.apache.ctakes.drugner.fsm.machines.elements.StrengthUnitFSM

public class StrengthUnitFSM
extends java.lang.Object

Uses one or more finite state machines to detect dosages in the given input of tokens.

Author:
Mayo Clinic

Field Summary
(package private)  java.util.Set<java.lang.String> iv_fullTextSet
           
(package private)  java.util.Set iv_oneOfTwoTextSet
           
(package private)  java.util.Set iv_twoOfTwoTextSet
           
 
Constructor Summary
StrengthUnitFSM()
          Constructor
 
Method Summary
 java.util.Set execute(java.util.List tokens, java.util.Set overrideSet)
          Executes the finite state machines.
 java.util.Set execute(java.util.List tokens, java.util.Set overrideSet1, java.util.Set overrideSet2)
          Executes the finite state machines.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iv_fullTextSet

java.util.Set<java.lang.String> iv_fullTextSet

iv_oneOfTwoTextSet

java.util.Set iv_oneOfTwoTextSet

iv_twoOfTwoTextSet

java.util.Set iv_twoOfTwoTextSet
Constructor Detail

StrengthUnitFSM

public StrengthUnitFSM()
Constructor

Method Detail

execute

public java.util.Set execute(java.util.List tokens,
                             java.util.Set overrideSet1,
                             java.util.Set overrideSet2)
                      throws java.lang.Exception
Executes the finite state machines.

Parameters:
tokens -
Returns:
Set of RangeToken objects.
Throws:
java.lang.Exception

execute

public java.util.Set execute(java.util.List tokens,
                             java.util.Set overrideSet)
                      throws java.lang.Exception
Executes the finite state machines.

Parameters:
tokens -
Returns:
Set of RangeToken objects.
Throws:
java.lang.Exception