// a better parameter setting
int iter = 0;
for (int reset = 0; reset < DEFAULT_NUM_RESETS + 1; reset++) {
for (; iter < numIterations; iter++) {
try {
converged = bfgs.optimize (1);
iteration++;
logger.info ("CRF finished one iteration of maximizer, i="+iter);
runEvaluators();
} catch (IllegalArgumentException e) {
e.printStackTrace();