docstr: Initialize TermRanker
  
  Parameters
  ----------
  term_doc_matrix : TermDocMatrix
          TermDocMatrix from which to find term ranks.
docstr_tok: ["Initialize","TermRanker","Parameters","--","--","--","--","--","term_doc_matrix",":","TermDocMatrix","TermDocMatrix","from","which","to","find","term","ranks","."]
code: def __init__(self, term_doc_matrix: TermDocMatrix):
      """Initialize TermRanker
  
      Parameters
      ----------
      term_doc_matrix : TermDocMatrix
              TermDocMatrix from which to find term ranks.
      """
      self._corpus = term_doc_matrix
      self._use_non_text_features = False
  
file_path: scattertext/scattertext/termranking/TermRanker.py
imports: from abc import ABCMeta, abstractmethod
  from scattertext import TermDocMatrix
label_desc: Use image node_id 1 to create a new TermRanker object  with example: obj = TermRanker(term_doc_matrix)