class_docstr: tests Vocabulary Class
class_docstr_tok: ["tests","Vocabulary","Class"]
code: def setUpClass(cls):
      cls.vocab = Vocabulary(
          [
              "z",
              "a",
              "b",
              "c",
              "f",
              "d",
              "e",
              "g",
              "a",
              "d",
              "b",
              "e",
              "w",
          ],
          unk_cutoff=2,
      )
  
imports: import unittest
  from collections import Counter
  from timeit import timeit
  from nltk.lm import Vocabulary
label_desc: Use image node_id 1 for calling the NgramModelVocabularyTests obj's underlying member method code with example usage: obj.setUpClass(cls) without return types