code: def __init__(self) -> None:
      self._index = CanopyIndex()
      self._doc_to_id = Enumerator(start=1)
      self._parseTerms = self._index.lexicon.parseTerms
  
file_path: dedupe/dedupe/tfidf.py
imports: import logging
  from typing import List, Tuple
  from dedupe.canopy_index import CanopyIndex
  from dedupe.core import Enumerator
  from dedupe.index import Index
label_desc: Use image node_id 1 to create a new TfIdfIndex object from inherited base classes: Index with example: obj = TfIdfIndex()