code: def _limit_to_redundant_unigrams(self, pairs, tdf_vals):
      return pairs[
          np.all(
              tdf_vals[pairs[:, 1]]
              <= tdf_vals[pairs[:, 0]] + self.redundancy_slack,
              axis=1,
          )
      ]
  
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 5 for calling the CompactTerms obj's underlying member method code with example usage: obj._limit_to_redundant_unigrams(pairs, tdf_vals) and returns: pairs