class_docstr: Runs SentencePiece tokenziation.
class_docstr_tok: ["Runs","SentencePiece","tokenziation","."]
docstr: Tokenizes a piece of text into its word pieces.
  
  Returns:
      A list of wordpiece tokens.
code: def tokenize(self, text):
      """Tokenizes a piece of text into its word pieces.
  
      Returns:
          A list of wordpiece tokens.
      """
      text = text.lower() if self.do_lower_case else text
      text = convert_to_unicode(text.replace("\1", " "))
      tokens = self.tokenizer.EncodeAsPieces(text)
  
      output_tokens = []
      for token in tokens:
          if token == self.sp_unk_token:
              token = self.unk_token
  
          if token in self.vocab:
              output_tokens.append(token)
          else:
              output_tokens.append(self.unk_token)
  
      return output_tokens
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import unicodedata
  import six
  import sentencepiece
label_desc: Use image node_id 2 for calling the SentencepieceTokenizer obj's underlying member method code with example usage: obj.tokenize(text) and returns: output_tokens