Machine m = new Machine(startState);
State hyphState = new NamedState("HYPHTERM");
State dosageState = new NamedState("DOSAGE");
Condition decimalCondition = new DecimalCondition();
Condition numberCondition = new NumberCondition();
Condition strengthFormCondition = new DisjoinCondition(
new RouteCondition(), new FormCondition());
Condition numberTextCondition = new WordSetCondition(iv_textNumberSet,
false);
Condition rangeCondition = new RangeStrengthCondition();
Condition fractionRangeCondition = new FractionStrengthCondition();
Condition decimalStart = new DisjoinCondition(
new IntegerValueCondition(0), new NumberCondition());
startState.addTransition(new WordSetCondition(iv_soloTextSet, true),
endState);
startState.addTransition(numberCondition, dosageState);