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 Object

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

Author:
Mayo Clinic

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

StrengthFSM

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

execute

public Set execute(List tokens)
            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.