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 Object

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

Author:
Mayo Clinic

Constructor Summary
StrengthUnitFSM()
          Constructor
 
Method Summary
 Set execute(List tokens, Set overrideSet)
          Executes the finite state machines.
 Set execute(List tokens, Set overrideSet1, 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
 

Constructor Detail

StrengthUnitFSM

public StrengthUnitFSM()
Constructor

Method Detail

execute

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

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

execute

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

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


Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.