class_docstr: Term-Frequency document model (term = word).
class_docstr_tok: ["Term-Frequency","document","model","(","term","=","word",")","."]
docstr: Lenght/norm/magnitude of vector representation of document.
  This is usually denoted by ||d||.
docstr_tok: ["Lenght\/norm\/magnitude","of","vector","representation","of","document",".","This","is","usually","denoted","by","||d||","."]
code: def magnitude(self):
      """
      Lenght/norm/magnitude of vector representation of document.
      This is usually denoted by ||d||.
      """
      return math.sqrt(sum(t**2 for t in self._terms.values()))
  
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 2 for calling the TfDocumentModel obj's underlying member method code with example usage: obj.magnitude() and returns: math