code: def set_vocab(self, vocab: Vocab):
      raise NotImplementedError(
          "Cannot set vocabulary for the YTTMTokenizer."
      )
  
file_path: gluon-nlp/src/gluonnlp/data/tokenizers/yttm.py
imports: from typing import Optional, Tuple, Union, List
  import os
  from .base import *
  from ..vocab import Vocab, load_vocab
  from ...utils.lazy_imports import try_import_yttm
label_desc: Use image node_id 7 for calling the YTTMTokenizer obj's underlying member method code with example usage: obj.set_vocab(vocab) without return types