private StringPrediction getLabel(SRLState state)
{
StringFeatureVector vector = getFeatureVector(f_xmls[0], state);
int idx = state.getDirection();
StringPrediction p = null;
if (isTrain())
{
p = new StringPrediction(getGoldLabel(state), 1d);
s_spaces[idx].addInstance(new StringInstance(p.label, vector));
}
else if (isDevelopOrDecode())
{
p = getAutoLabel(idx, vector, state);