code: def tokenize(self, text, return_str=False):
      text = str(text)  # Converts input string into unicode.
      for regexp, substitution in self.TOKTOK_REGEXES:
          text = regexp.sub(substitution, text)
      # Finally, strips heading and trailing spaces
      # and converts output string into unicode.
      text = str(text.strip())
      return text if return_str else text.split()
  
imports: import re
  from nltk.tokenize.api import TokenizerI
label_desc: Use image node_id 1 for calling the ToktokTokenizer obj's underlying member method code with example usage: obj.tokenize(text, return_str) and returns: unknown