}
PerceptronModel model = new PerceptronModel(params,predLabels,pmap,outcomeLabels);
sequenceStream.reset();
Sequence sequence;
while ((sequence = sequenceStream.read()) != null) {
Event[] taggerEvents = sequenceStream.updateContext(sequence, model);
Event[] events = sequence.getEvents();
boolean update = false;
for (int ei=0;ei<events.length;ei++,oei++) {
if (!taggerEvents[ei].getOutcome().equals(events[ei].getOutcome())) {
update = true;
//break;