code: def test_unconstrained_inverted_index(self):
      blocker = dedupe.blocking.Fingerprinter(
          [dedupe.predicates.TfidfTextSearchPredicate(0.0, "name")]
      )
  
      blocker.index(
          set(record["name"] for record in self.data_d.values()), "name"
      )
  
      blocks = defaultdict(set)
  
      for block_key, record_id in blocker(self.data_d.items()):
          blocks[block_key].add(record_id)
  
      blocks = set(
          [
              frozenset(block)
              for block in blocks.values()
              if len(block) > 1
          ]
      )
  
      assert blocks == set(
          [frozenset([120, 125]), frozenset([130, 135])]
      )
  
file_path: dedupe/tests/test_blocking.py
imports: import unittest
  from collections import defaultdict
  import dedupe
label_desc: Use image node_id 2 for calling the TfidfTest obj's underlying member method code with example usage: obj.test_unconstrained_inverted_index() without return types