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

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

public class RangeStrengthFSM
extends java.lang.Object

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

Author:
Mayo Clinic

Field Summary
(package private)  java.util.Set iv_hyphenatedSet
           
(package private)  java.util.Set iv_rangeSet
           
(package private)  java.util.Set iv_textNumberSet
           
 
Constructor Summary
RangeStrengthFSM()
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iv_textNumberSet

java.util.Set iv_textNumberSet

iv_rangeSet

java.util.Set iv_rangeSet

iv_hyphenatedSet

java.util.Set iv_hyphenatedSet
Constructor Detail

RangeStrengthFSM

public RangeStrengthFSM()
Constructor

Method Detail

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 FractionToken objects.
Throws:
java.lang.Exception