class_docstr: Clean unit for raw text.
docstr: Process input data from raw terms to cleaned text.
  
  :param input_: raw textual input.
  
  :return cleaned_text: cleaned text.
docstr_tok: ["Process","input","data","from","raw","terms","to","cleaned","text",".",":","param","input_",":","raw","textual","input",".",":","return","cleaned_text",":","cleaned","text","."]
code: def transform(self, input_: str) -> str:
      """
      Process input data from raw terms to cleaned text.
  
      :param input_: raw textual input.
  
      :return cleaned_text: cleaned text.
      """
      output = []
      for char in input_:
          cp = ord(char)
          if cp == 0 or cp == 0xFFFD or is_control(char):
              continue
          if is_whitespace(char):
              output.append(" ")
          else:
              output.append(char)
      cleaned_text = "".join(output)
      return cleaned_text
  
imports: from .unit import Unit
  from matchzoo.utils.bert_utils import is_whitespace, is_control, run_strip_accents
label_desc: Use image node_id 1 for calling the BertClean obj's underlying member method code with example usage: obj.transform(input_) and returns: cleaned_text