app.nlp.coref.WithinDocCoref1: changing a bit the structure of the trainer to fix a bug in how the optimizer is used