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

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

public class DateFSM
extends java.lang.Object

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

Author:
Mayo Clinic

Constructor Summary
DateFSM()
          Constructor
 
Method Summary
 java.util.Set<DateToken> 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

DateFSM

public DateFSM()
Constructor

Method Detail

execute

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

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