Machine m = new Machine(startState);
State negPrepState = new NamedState("NEG_PREP");
State negDetState = new NamedState("NEG_DET");
State regNounState = new NamedState("REG_NOUN");
Condition negPrepC = new TextSetCondition(iv_negPrepositionsSet, false);
Condition negDetC = new TextSetCondition(iv_negDeterminersSet, false);
Condition regNounC = new TextSetCondition(iv_regNounsSet, false);
startState.addTransition(negDetC, negDetState); // start with a modal
startState.addTransition(negPrepC, negPrepState);
startState.addTransition(new AnyCondition(), startState);