code: def __init__(self, model_path=None, normalize=True, cache=True):
      super().__init__(cache)
      self.w2idf = {}
  
      self.tokens = []
      self.tfidf_scores = []
      self.w2tfidf = {}
  
      if model_path:
          self.read(model_path)
      self.normalize = normalize
  
file_path: nlpaug/nlpaug/model/word_stats/tfidf.py
imports: import os
  import math
  import numpy
  from nlpaug.model.word_stats import WordStatistics
label_desc: Use image node_id 1 to create a new TfIdf object from inherited base classes: WordStatistics with example: obj = TfIdf(model_path, normalize, cache)