class_docstr: Bert Like Tokenizer, ref: https://github.com/CyberZHG/keras-bert/blob/master/keras_bert/tokenizer.py
class_docstr_tok: ["Bert","Like","Tokenizer",",","ref",":","https",":","\/\/github.com\/CyberZHG\/keras-bert\/blob\/master\/keras_bert\/tokenizer.py"]
code: def _word_piece_tokenize(self, word: str) -> List[str]:
      if word in self._token_dict:
          return [word]
      tokens = []
      start, stop = 0, 0
      while start < len(word):
          stop = len(word)
          while stop > start:
              sub = word[start:stop]
              if start > 0:
                  sub = "##" + sub
              if sub in self._token_dict:
                  break
              stop -= 1
          if start == stop:
              stop += 1
          tokens.append(sub)
          start = stop
      return tokens
  
file_path: Kashgari/kashgari/tokenizers/bert_tokenizer.py
imports: import codecs
  import unicodedata
  from typing import List, Optional, Dict
  from kashgari.tokenizers.base_tokenizer import Tokenizer
label_desc: Use image node_id 5 for calling the BertTokenizer obj's underlying member method code with example usage: obj._word_piece_tokenize(word) and returns: tokens, list