// System.err.printf("trainFileList contains %d file%s.\n", files.size(),
// files.size() == 1 ? "": "s");
// TODO get rid of objectbankwrapper
// return new ObjectBank<List<IN>>(new
// ResettableReaderIteratorFactory(files), readerAndWriter);
return new ObjectBankWrapper<IN>(flags, new ObjectBank<List<IN>>(new ResettableReaderIteratorFactory(files, flags.inputEncoding),
readerAndWriter), knownLCWords);
// } catch (IOException e) {
// throw new RuntimeException(e);
// }
}