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

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

public class RomanNumeralFSM
extends java.lang.Object

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

Author:
Mayo Clinic

Nested Class Summary
(package private)  class RomanNumeralFSM.RomanNumeralCondition
           
 
Constructor Summary
RomanNumeralFSM()
          Constructor
 
Method Summary
 java.util.Set<RomanNumeralToken> 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

RomanNumeralFSM

public RomanNumeralFSM()
Constructor

Method Detail

execute

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

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