if (keepNBestAttributes != -1) {
// double scores[] = logLikelihoodAttributeFilter.getScores(ftc,
// lexicon);
// lexicon.setLogLikelihoodRatio(scores);
// lexicon.keepTopNAttributesLLR(keepNBestAttributes);
AttributeScorer scorer = logLikelihoodAttributeScorer.getScorer(
ftc, lexicon);
lexicon.setAttributeScorer(scorer);
lexicon.applyAttributeFilter(scorer, keepNBestAttributes);
} else {
// apply the filters on the Lexicon