public class RangeStrengthFSM
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Set |
iv_hyphenatedSet |
private java.util.Set |
iv_machineSet |
(package private) java.util.Set |
iv_rangeSet |
(package private) java.util.Set |
iv_textNumberSet |
Constructor and Description |
---|
RangeStrengthFSM()
Constructor
|
Modifier and Type | Method and Description |
---|---|
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.
|
private Machine |
getDashDashMachine()
Gets a finite state machine that detects the following:
25.4-30.4
32.1-three
|
private Machine |
getDashMachine()
Gets a finite state machine that detects the following:
25.4-30.4
32.1-three
|
private Machine |
getDotDashMachine()
Gets a finite state machine that detects the following:
250-300
I-IV
two-three
two-to-three
|
java.util.Set iv_textNumberSet
java.util.Set iv_rangeSet
java.util.Set iv_hyphenatedSet
private java.util.Set iv_machineSet
private Machine getDashDashMachine()
private Machine getDashMachine()
private Machine getDotDashMachine()
public java.util.Set execute(java.util.List tokens, java.util.Set overrideSet) throws java.lang.Exception
tokens
- java.lang.Exception
public java.util.Set execute(java.util.List tokens) throws java.lang.Exception
tokens
- java.lang.Exception