class_docstr: Merges word2idx and idx2word dictionaries
  Arguments:
      id2word dictionary
      word2id dictionary
      language of the dictionary
  Usage:
      dico.index(word) - returns an index
      dico[index] - returns the word
class_docstr_tok: ["Merges","word2idx","and","idx2word","dictionaries","Arguments",":","id2word","dictionary","word2id","dictionary","language","of","the","dictionary","Usage",":","dico.index","(","word",")","-","returns","an","index","dico","[","index","]","-","returns","the","word"]
code: def __init__(self, id2word, word2id, lang):
      assert len(id2word) == len(word2id)
      self.id2word = id2word
      self.word2id = word2id
      self.lang = lang
      self.check_valid()
  
file_path: nlp-architect/nlp_architect/data/fasttext_emb.py
imports: import os
  from six.moves import urllib
  import numpy
  from nlp_architect.utils.generic import license_prompt
label_desc: Use image node_id 1 to create a new Dictionary object  with example: obj = Dictionary(id2word, word2id, lang)