@SuppressWarnings("unused")
private LinearTagger trainMira(ArrayList<SequenceInstance> data,
Alphabet xA, Alphabet yA, int numIters, boolean doAveraging) {
Mira mira = new Mira(doAveraging, numIters, xA, yA,
new TwoYwithXFeatureFunction(xA, yA), new HammingLoss());
return mira.batchTrain(data);
}