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 load_from_vocab_file(cls, vocab_path: str) -> "BertTokenizer":
      token2idx: Dict[str, int] = {}
      with codecs.open(vocab_path, "r", "utf8") as reader:
          for line in reader:
              token = line.strip()
              token2idx[token] = len(token2idx)
      return BertTokenizer(token_dict=token2idx)
  
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 2 for calling the BertTokenizer obj's underlying member method code with example usage: obj.load_from_vocab_file(cls, vocab_path) and returns: BertTokenizer