class_docstr: Runs WordPiece tokenization.
class_docstr_tok: ["Runs","WordPiece","tokenization","."]
code: def __init__(
      self,
      vocab: List[str],
      unk_token: str,
      max_input_chars_per_word: int = 100,
  ):
      self.vocab = vocab
      self.unk_token = unk_token
      self.max_input_chars_per_word = max_input_chars_per_word
  
imports: import collections
  import os
  import pickle
  import unicodedata
  from typing import Dict, List, Optional, Union, Tuple
  from paddle.utils import try_import
  from paddlehub.text.utils import load_vocab, is_whitespace, is_control, is_punctuation, whitespace_tokenize, is_chinese_char
label_desc: Use image node_id 1 to create a new WordpieceTokenizer object from inherited base classes: object with example: obj = WordpieceTokenizer(vocab, unk_token, max_input_chars_per_word)