class_docstr: Error message when you want to encode sentence to a sequence of ids without
  specifying the vocabulary
code: def __init__(self):
      self.message = (
          "There is no vocab bound to the tokenizer. "
          'Must set vocab if the output_type is "int". You may use'
          " `tokenizer.set_vocab(vocab)` to attach the vocabulary."
      )
      super().__init__(self.message)
  
imports: import abc
  import itertools
  from ..vocab import Vocab
  from ...utils.registry import Registry
  from typing import List, Tuple, Union, NewType, Optional
label_desc: Use image node_id 1 to create a new TokenizerEncodeWithoutVocabError object from inherited base classes: ValueError with example: obj = TokenizerEncodeWithoutVocabError()