// Read the provided symbol table
logger.info("Reading provided symbol table");
Vocabulary symbolTable = new Vocabulary();
ObjectInput in = BinaryIn.vocabulary(binaryVocabFilename);
symbolTable.readExternal(in);
// Read the provided corpus
logger.info("Reading provided corpus");
Vocabulary oldSymbolTable = new Vocabulary();
int[] lengths = Vocabulary.initializeVocabulary(corpusFileName, oldSymbolTable, true);