def augmented_average_term_frequency(document, term)
      count = document.term_count(term)
      if count > 0
        0.9 + 0.1 * count / document.average_term_count
      else
        0
      end
    end
def augmented_average_term_frequency(document, term)
      count = document.term_count(term)
      if count > 0
        0.9 + 0.1 * count / document.average_term_count
      else
        0
      end
    end
Chisholm ATFA