reporter.incrCounter(MergeCounters.EWORDS, 1);
reporter.incrCounter(MergeCounters.STATISTICS, ((IndexedFloatArray)t.getContent()).size() + 1);
} else {
if (emittedATable)
throw new RuntimeException("Should only have a single ATable!");
ATable at = (ATable)t.getContent();
fileSys.delete(atablePath, true);
DataOutputStream dos = new DataOutputStream(
new BufferedOutputStream(fileSys.create(atablePath)));
at.write(dos);
dos.close();
emittedATable = true;
}
}
fileSys.delete(ttablePath, true); // delete old ttable