/** * Expands the lexicon and updates the weight vector and feature indices. Does not add entries * that are already present. */ public void addLexEntries(List lex) { for (int i = 0; i < lex.size(); i++) { addLexEntry((LexEntry) lex.get(i)); } }