// change the indices of the attributes to remove
// gaps between them
Map<Integer, Integer> equiv = null;
if (compact) {
// create a new Lexicon object
equiv = lexicon.compact();
}
// save the modified lexicon file
if (newLexicon != null)
lexicon.saveToFile(newLexicon);