code: def create_whitespace_tokenizer(
      config: Optional[Dict] = None,
  ) -> WhitespaceTokenizer:
      config = config if config else {}
      return WhitespaceTokenizer(
          {**WhitespaceTokenizer.get_default_config(), **config}
      )
  
file_path: rasa/tests/nlu/tokenizers/test_whitespace_tokenizer.py
imports: import pytest
  from typing import Dict, Optional
  import rasa.shared.utils.io
  from rasa.nlu.constants import TOKENS_NAMES
  from rasa.shared.nlu.constants import TEXT, INTENT, ACTION_TEXT, ACTION_NAME
  from rasa.shared.nlu.training_data.training_data import TrainingData
  from rasa.shared.nlu.training_data.message import Message
  from rasa.nlu.tokenizers.whitespace_tokenizer import WhitespaceTokenizer
label_desc: Use image node_id 1 for calling a global function with example usage: create_whitespace_tokenizer(config) and returns: WhitespaceTokenizer