# File lib/rir/document.rb, line 97
    def tf(s)
      self.count_words[s].to_f/@words.size.to_f
    end