iv_appendWordSet, true);
Condition containsSecondAppendTermCondition = new WordSetCondition(
iv_appendWordSet, true);
startState.addTransition(specificWordCondition, startAbbreviateState);
startState.addTransition(new AnyCondition(), startState);
startAbbreviateState.addTransition(containsAppendTermCondition,
middleTermState);
// startAbbreviateState.addTransition(firstDashCondition, firstDashState);
startAbbreviateState.addTransition(new NumberCondition(),
finalTermState);
startAbbreviateState.addTransition(new AnyCondition(), startState);
middleTermState.addTransition(new RangeStrengthCondition(), anotherAppendState);
middleTermState.addTransition(containsSecondAppendTermCondition, finalTermState);
middleTermState.addTransition(numericTextCondition, finalAppendState);
middleTermState.addTransition(new NumberCondition(), anotherAppendState);
middleTermState.addTransition(new AnyCondition(), startState);
// secondDashState.addTransition(containsSecondAppendTermCondition, finalTextState);
// secondDashState.addTransition(periodCondition, endState);
// secondDashState.addTransition(new AnyCondition(), startState);
//finalTermState.addTransition(periodCondition, endState);
finalTermState.addTransition(new RangeStrengthCondition(), finalTextState);
finalTermState.addTransition(numericTextCondition, finalTextState);
finalTermState.addTransition(new NumberCondition(), finalTextState);
finalTermState.addTransition(new AnyCondition(), startState);
finalAppendState.addTransition(periodAdditionalCondition, endState);
finalAppendState.addTransition(new AnyCondition(), startState);
anotherAppendState.addTransition(periodAdditional2Condition, endState);
anotherAppendState.addTransition(new AnyCondition(), startState);
finalTextState.addTransition(periodCondition, endState);
finalTextState.addTransition(new AnyCondition(), startState);
endState.addTransition(new AnyCondition(), startState);
return m;
}