class_docstr: A mapping from symbols to consecutive integers
docstr: Pad Dictionary size to be a multiple of *padding_factor*.
docstr_tok: ["Pad","Dictionary","size","to","be","a","multiple","of","*","padding_factor","*","."]
code: def pad_to_multiple_(self, padding_factor):
      """Pad Dictionary size to be a multiple of *padding_factor*."""
      if padding_factor > 1:
          i = 0
          while len(self) % padding_factor != 0:
              symbol = "madeupword{:04d}".format(i)
              self.add_symbol(symbol, n=0)
              i += 1
  
imports: import os
  from collections import Counter
  from multiprocessing import Pool
  import torch
  from fairseq import utils
  from fairseq.data import data_utils
  from fairseq.file_chunker_utils import Chunker, find_offsets
  from fairseq.file_io import PathManager
  from fairseq.tokenizer import tokenize_line
label_desc: Use image node_id 13 for calling the Dictionary obj's underlying member method code with example usage: obj.pad_to_multiple_(padding_factor) without return types