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"]
docstr: Compare the dictionary with another one.
docstr_tok: ["Compare","the","dictionary","with","another","one","."]
code: def __eq__(self, y):
      """
      Compare the dictionary with another one.
      """
      self.check_valid()
      y.check_valid()
      if len(self.id2word) != len(y):
          return False
      return self.lang == y.lang and all(
          self.id2word[i] == y[i] for i in range(len(y))
      )
  
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 5 for calling the Dictionary obj's underlying member method code with example usage: obj.__eq__(y) and returns: unknown, False