code: def __init__(
      self,
      vocab=None,
      do_lower_case=True,
      do_basic_tokenize=True,
      never_split=["[UNK]", "[SEP]", "[PAD]", "[CLS]", "[MASK]"],
  ):
      self.vocab = load_vocab(vocab)
      self.inv_vocab = {v: k for k, v in self.vocab.items()}
      self.basic_tokenizer = BasicTokenizer(
          do_lower_case=do_lower_case, never_split=never_split
      )
      self.wordpiece_tokenizer = WordpieceTokenizer(vocab=self.vocab)
      self.do_basic_tokenize = do_basic_tokenize
  
file_path: OpenNRE/opennre/tokenization/bert_tokenizer.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import unicodedata
  import six
  from .basic_tokenizer import BasicTokenizer
  from .word_piece_tokenizer import WordpieceTokenizer
  from .utils import convert_to_unicode, load_vocab, convert_by_vocab, convert_tokens_to_ids, convert_ids_to_tokens
label_desc: Use image node_id 1 to create a new BertTokenizer object from inherited base classes: object with example: obj = BertTokenizer(vocab, do_lower_case, do_basic_tokenize, never_split)