org.apache.ctakes.drugner.fsm.machines.elements
Class RangeStrengthFSM
java.lang.Object
org.apache.ctakes.drugner.fsm.machines.elements.RangeStrengthFSM
public class RangeStrengthFSM
- extends java.lang.Object
Uses one or more finite state machines to detect range strength tokens in the given
input of tokens.
- Author:
- Mayo Clinic
Method Summary |
java.util.Set |
execute(java.util.List tokens)
Executes the finite state machines. |
java.util.Set |
execute(java.util.List tokens,
java.util.Set overrideSet)
Executes the finite state machines. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iv_textNumberSet
java.util.Set iv_textNumberSet
iv_rangeSet
java.util.Set iv_rangeSet
iv_hyphenatedSet
java.util.Set iv_hyphenatedSet
RangeStrengthFSM
public RangeStrengthFSM()
- Constructor
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
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