code: def _clean_special_chars(text: str) -> str:
      """
      Remove special characters, replaces space characters with space.
  
      Parameters
      ----------
      text : str
          The `text` parameter is a string that represents the input text that needs to be cleaned.
  
      Returns
      -------
          text
              Cleaned text string
      """
      text = PATTERN_SPECIAL_CHARS.sub("", text)
      text = PATTERN_SPACE_CHARS.sub(" ", text)
      text = PATTERN_BR_CHARS.sub(" ", text)
      return text
  
file_path: deepchecks/deepchecks/nlp/utils/text_embeddings.py
imports: import re
  import sys
  import warnings
  from itertools import islice
  from typing import Optional
  import numpy
  from tqdm import tqdm
label_desc: Use image node_id 5 for calling a global function with example usage: _clean_special_chars(text) and returns: text