code: def __init__(self, vocabulary: List[str], add_special=True):
      if add_special:
          vocabulary = self.SPECIAL_TOKENS + vocabulary
      self.tokens_to_ids, self.ids_to_tokens = BiMap(
          a=vocabulary, b=list(range(len(vocabulary)))
      ).get_maps()
  
file_path: jiant/jiant/utils/testing/tokenizer.py
imports: from typing import List
  from jiant.utils.python.datastructures import BiMap
  from jiant.tasks.core import FeaturizationSpec
label_desc: Use image node_id 1 to create a new SimpleSpaceTokenizer object  with example: obj = SimpleSpaceTokenizer(vocabulary, add_special)