class_docstr: Term-Frequency document model (term = word).
class_docstr_tok: ["Term-Frequency","document","model","(","term","=","word",")","."]
docstr: Returns frequency of term in document.
  
  :returns int:
      Returns count of words in document.
docstr_tok: ["Returns","frequency","of","term","in","document",".",":","returns","int",":","Returns","count","of","words","in","document","."]
code: def term_frequency(self, term):
      """
      Returns frequency of term in document.
  
      :returns int:
          Returns count of words in document.
      """
      return self._terms.get(term, 0)
  
file_path: sumy/sumy/models/tf.py
imports: from __future__ import absolute_import
  from __future__ import division, print_function, unicode_literals
  import math
  from collections import Counter
  from pprint import pformat
  from .._compat import to_unicode, unicode, string_types, Sequence
label_desc: Use image node_id 5 for calling the TfDocumentModel obj's underlying member method code with example usage: obj.term_frequency(term) and returns: self