org.apache.ctakes.core.fsm.machine
Class TimeFSM

java.lang.Object
  extended by org.apache.ctakes.core.fsm.machine.TimeFSM

public class TimeFSM
extends java.lang.Object

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

Author:
Mayo Clinic

Constructor Summary
TimeFSM()
          Constructor
 
Method Summary
 java.util.Set<TimeToken> execute(java.util.List<? extends BaseToken> tokens)
          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

TimeFSM

public TimeFSM()
Constructor

Method Detail

execute

public java.util.Set<TimeToken> execute(java.util.List<? extends BaseToken> tokens)
                                 throws java.lang.Exception
Executes the finite state machines.

Returns:
Set of TimeToken objects.
Throws:
java.lang.Exception