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

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

public class StrengthFSM
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 iv_numberTextSet
           
 
Constructor Summary
StrengthFSM()
          Constructor
 
Method Summary
 java.util.Set execute(java.util.List tokens)
          Executes the finite state machines.
 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_numberTextSet

java.util.Set iv_numberTextSet
Constructor Detail

StrengthFSM

public StrengthFSM()
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

execute

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

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