class_docstr: Runs basic tokenization (punctuation splitting, lower casing, etc.).
docstr: Performs invalid character removal and whitespace cleanup on text.
code: def _clean_text(self, text):
      """Performs invalid character removal and whitespace cleanup on text."""
      # output = []
      # for char in text:
      #     cp = ord(char)
      #     if cp == 0 or cp == 0xfffd or _is_control(char):
      #         continue
      #     if _is_whitespace(char):
      #         output.append(" ")
      #     else:
      #         output.append(char)
      # option_a = ''.join(output)
      option_b = text.translate(CLEAN_TABLE)
      # assert option_a == option_b
      return option_b
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import re
  import unicodedata
  import six
  import tensorflow
  import sys
label_desc: Use image node_id 7 for calling the BasicTokenizer obj's underlying member method code with example usage: obj._clean_text(text) and returns: option_b