class_docstr: Builder class for BertExample objects.
class_docstr_tok: ["Builder","class","for","BertExample","objects","."]
docstr: Returns the ID of the [PAD] token (or 0 if it's not in the vocab).
docstr_tok: ["Returns","the","ID","of","the","[","PAD","]","token","(","or","0","if","it","'s","not","in","the","vocab",")","."]
code: def _get_pad_id(self) -> int:
      """Returns the ID of the [PAD] token (or 0 if it's not in the vocab)."""
      try:
          return self._tokenizer.pad_token_id
      except KeyError:
          return 0
  
imports: import logging
  from collections import OrderedDict
  from os import path
  from typing import Dict, List, Optional, Tuple, Union
  from transformers import PreTrainedTokenizerBase
  from nemo.collections.nlp.data.text_normalization_as_tagging.tagging import EditingTask, Tag
  from nemo.collections.nlp.data.text_normalization_as_tagging.utils import yield_sources_and_targets
label_desc: Use image node_id 5 for calling the BertExampleBuilder obj's underlying member method code with example usage: obj._get_pad_id() and returns: self, int