code: def _create_dmvr_tokenizer(
      tokenizer_type: str,
      vocab_path: Optional[str] = None,
  ) -> dmvr_tokenizers.TextTokenizer:
      """Creates and initializes a DMVR tokenizer."""
      tokenizer = util.create_tokenizer(
          ml_collections.ConfigDict(
              {
                  "tokenizer_type": tokenizer_type,
                  "tokenizer_vocab": vocab_path,
              }
          )
      )
      tokenizer.initialize()
      return tokenizer
  
file_path: scenic/scenic/projects/lang4video/pp_ops.py
imports: from collections.abc import Callable
  import functools
  from typing import Optional
  from dmvr import processors
  from dmvr import tokenizers
  import ml_collections
  from scenic.dataset_lib.big_transfer.preprocessing import utils
  from scenic.dataset_lib.big_transfer.registry import Registry
  from scenic.projects.lang4video import util
  import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: _create_dmvr_tokenizer(tokenizer_type, vocab_path) and returns: tokenizer