class_docstr: Dict freqs.
class_docstr_tok: ["Dict","freqs","."]
code: def __init__(self, freqs):
      self.freqs = freqs
      self.N = sum(freqs.values())
      self.V = len(freqs)
      self.logNV = math.log(self.N + self.V)
  
imports: import importlib
  import math
  import re
  from enum import Enum
label_desc: Use image node_id 1 to create a new DictFrequencies object  with example: obj = DictFrequencies(freqs)