org.apache.ctakes.drugner.fsm.machines.util
Class HyphenatedDrugFSM

java.lang.Object
  extended by org.apache.ctakes.drugner.fsm.machines.util.HyphenatedDrugFSM

public class HyphenatedDrugFSM
extends java.lang.Object

Uses one or more finite state machines to detect hyphenated drug information adjoined to dosage data in the given input of tokens.

Author:
Mayo Clinic

Field Summary
(package private)  java.util.Set iv_hyphenDrugSet
           
 
Constructor Summary
HyphenatedDrugFSM()
          Constructor
 
Method Summary
 java.util.Set execute(java.util.List tokens)
          Executes the finite state machines.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iv_hyphenDrugSet

java.util.Set iv_hyphenDrugSet
Constructor Detail

HyphenatedDrugFSM

public HyphenatedDrugFSM()
Constructor

Method Detail

execute

public java.util.Set execute(java.util.List tokens)
                      throws java.lang.Exception
Executes the finite state machines.

Parameters:
tokens -
Returns:
Set of FractionToken objects.
Throws:
java.lang.Exception