org.apache.ctakes.drugner.fsm.machines.elements
Class StrengthUnitFSM
java.lang.Object
org.apache.ctakes.drugner.fsm.machines.elements.StrengthUnitFSM
public class StrengthUnitFSM
- extends java.lang.Object
Uses one or more finite state machines to detect dosages in the given
input of tokens.
- Author:
- Mayo Clinic
Method Summary |
java.util.Set |
execute(java.util.List tokens,
java.util.Set overrideSet)
Executes the finite state machines. |
java.util.Set |
execute(java.util.List tokens,
java.util.Set overrideSet1,
java.util.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 |
iv_fullTextSet
java.util.Set<java.lang.String> iv_fullTextSet
iv_oneOfTwoTextSet
java.util.Set iv_oneOfTwoTextSet
iv_twoOfTwoTextSet
java.util.Set iv_twoOfTwoTextSet
StrengthUnitFSM
public StrengthUnitFSM()
- Constructor
execute
public java.util.Set execute(java.util.List tokens,
java.util.Set overrideSet1,
java.util.Set overrideSet2)
throws java.lang.Exception
- Executes the finite state machines.
- Parameters:
tokens
-
- Returns:
- Set of RangeToken objects.
- Throws:
java.lang.Exception
execute
public java.util.Set execute(java.util.List tokens,
java.util.Set overrideSet)
throws java.lang.Exception
- Executes the finite state machines.
- Parameters:
tokens
-
- Returns:
- Set of RangeToken objects.
- Throws:
java.lang.Exception