class_docstr: Represents a vocabulary that can be built from a dataset.
code: def _getitem__(self, key: str):
      return self.vocab[key]
  
file_path: flax/examples/sst2/vocabulary.py
imports: import collections
  from typing import Iterable, Optional, Sequence
  from absl import logging
label_desc: Use image node_id 3 for calling the Vocabulary obj's underlying member method code with example usage: obj._getitem__(key) and returns: self