}
public Object doInCompass(CompassSession session) throws CompassException {
CompassTermFreqsBuilder builder = session.termFreqsBuilder(termFreqsArgs.getProperties());
if (termFreqsArgs.getNormalizeRange() != null) {
builder.normalize(termFreqsArgs.getNormalizeRange().getFromInt(), termFreqsArgs.getNormalizeRange().getToInt());
}
if (termFreqsArgs.getSize() != null) {
builder.setSize(termFreqsArgs.getSize().intValue());
}
if (termFreqsArgs.getSort() != null) {