DEPLabel label = null;
if (isTrain())
{
label = state.getGoldLabel();
insts.add(new StringInstance(label.toString(), vector));
}
else if (isDevelopOrDecode())
{
label = getAutoLabel(vector, state);
}
else if (isBootstrap())
{
label = getAutoLabel(vector, state);
insts.add(new StringInstance(state.getGoldLabel().toString(), vector));
}
return label;
}