// Create a file to store the CRF
File f = new File("TestObject.obj");
File f2 = new File("TestObject2.obj");
Alphabet inputAlphabet = new Alphabet();
for (int i = 0; i < inputVocabSize; i++)
inputAlphabet.lookupIndex("feature" + i);
Alphabet outputAlphabet = new Alphabet();
String[] stateNames = new String[numStates];
for (int i = 0; i < numStates; i++) {
stateNames[i] = "state" + i;
outputAlphabet.lookupIndex(stateNames[i]);