for (int j = 0; j < targetSeq.size(); j++) { LabelVector predicated = lattice.getLabelingAtPosition(j); Label expected = targetSeq.getLabelAtPosition(j); FeatureVector fv = fvs.get(j);
LabelVector latticeLabeling = lattice.getLabelingAtPosition(j); double trueLabelProb = latticeLabeling.value(label.getIndex()); int labelIndex = latticeLabeling.getBestIndex();
assert (label != null); LabelVector latticeLabeling = lattice.getLabelingAtPosition(j); double trueLabelProb = latticeLabeling.value(label.getIndex()); int labelIndex = latticeLabeling.getBestIndex();
assert (label != null); LabelVector latticeLabeling = lattice.getLabelingAtPosition(j); double trueLabelProb = latticeLabeling.value(label.getIndex()); int labelIndex = latticeLabeling.getBestIndex();