docstr: Parameters
  ----------
  term_ranker : TermRanker
          Default AbsoluteFrequencyRanker
  minimum_term_count : int
          Default 0
  slack : int
          Default 1
docstr_tok: ["Parameters","--","--","--","--","--","term_ranker",":","TermRanker","Default","AbsoluteFrequencyRanker","minimum_term_count",":","int","Default","0","slack",":","int","Default","1"]
code: def __init__(
      self,
      term_ranker=AbsoluteFrequencyRanker,
      minimum_term_count=0,
      slack=1,
  ):
      """
  
      Parameters
      ----------
      term_ranker : TermRanker
              Default AbsoluteFrequencyRanker
      minimum_term_count : int
              Default 0
      slack : int
              Default 1
  
      """
      self.term_ranker = term_ranker
      self.minimum_term_count = minimum_term_count
      self.redundancy_slack = slack
  
file_path: scattertext/scattertext/termcompaction/CompactTerms.py
imports: import numpy
  from scattertext.CSRMatrixTools import CSRMatrixFactory
  from scattertext.indexstore import IndexStore
  from scattertext.termranking import AbsoluteFrequencyRanker
label_desc: Use image node_id 1 to create a new CompactTerms object from inherited base classes: object with example: obj = CompactTerms(term_ranker, minimum_term_count, slack)