class_docstr: 构建词汇表,增加词汇，删除低频词汇
code: def __init__(
      self, name: str = "basic", init_tokens: Sequence = SPECIAL_TOKENS
  ):
      self.name = name
      self.init_tokens = init_tokens
      self.trimed = False
      self.word2idx = {}
      self.word2count = {}
      self.idx2word = {}
      self.count = 0
      self._add_init_tokens()
  
file_path: DeepKE/src/deepke/attribution_extraction/standard/tools/vocab.py
imports: import logging
  from collections import OrderedDict
  from typing import Sequence, Optional
label_desc: Use image node_id 1 to create a new Vocab object from inherited base classes: object with example: obj = Vocab(name, init_tokens)