parameters: (file_path)
return_statement: return Vocab(VocabEntry(src_word2id), VocabEntry(tgt_word2id))
docstring: Load vocabulary from JSON dump.
          @param file_path (str): file path to vocab file
          @returns Vocab object loaded from JSON dump
docstring_summary: Load vocabulary from JSON dump.
docstring_tokens: Load vocabulary from JSON dump .
function: def load(file_path):
          """ Load vocabulary from JSON dump.
          @param file_path (str): file path to vocab file
          @returns Vocab object loaded from JSON dump
          """
          entry = json.load(open(file_path, 'r'))
          src_word2id = entry['src_word2id']
          tgt_word2id = entry['tgt_word2id']
  
          return Vocab(VocabEntry(src_word2id), VocabEntry(tgt_word2id))
function_tokens: def load ( file_path ) : entry = json . load ( open ( file_path , 'r' ) ) src_word2id = entry [ 'src_word2id' ] tgt_word2id = entry [ 'tgt_word2id' ] return Vocab ( VocabEntry ( src_word2id ) , VocabEntry ( tgt_word2id ) )