code: def tokenizer(
      default_model_storage: ModelStorage,
      default_execution_context: ExecutionContext,
  ) -> Callable[[Dict[Text, Any]], MitieTokenizer]:
      def inner(config: Dict[Text, Any]) -> MitieTokenizer:
          return MitieTokenizer.create(
              {**MitieTokenizer.get_default_config(), **config},
              default_model_storage,
              Resource("mitie_tokenizer"),
              default_execution_context,
          )
  
      return inner
  
file_path: rasa/tests/nlu/tokenizers/test_mitie_tokenizer.py
imports: from typing import Dict, Text, Any, Tuple, List, Callable
  import pytest
  from rasa.engine.graph import ExecutionContext
  from rasa.engine.storage.resource import Resource
  from rasa.engine.storage.storage import ModelStorage
  from rasa.shared.nlu.training_data.training_data import TrainingData
  from rasa.shared.nlu.training_data.message import Message
  from rasa.nlu.constants import TOKENS_NAMES
  from rasa.shared.nlu.constants import TEXT, INTENT
  from rasa.nlu.tokenizers.mitie_tokenizer import MitieTokenizer
label_desc: Use image node_id 1 for calling a global function with example usage: tokenizer(default_model_storage, default_execution_context) and returns: inner, MitieTokenizer