class_docstr: Mapping between words and their integer ids, using a hashing function.
  
  Unlike :class:`~gensim.corpora.dictionary.Dictionary`,
  building a :class:`~gensim.corpora.hashdictionary.HashDictionary` before using it **isn't a necessary step**.
  
  You can start converting words to ids immediately, without training on a corpus.
  
  Examples
  --------
  .. sourcecode:: pycon
  
      >>> from gensim.corpora import HashDictionary
      >>>
      >>> dct = HashDictionary(debug=False)  # needs no training corpus!
      >>>
      >>> texts = [['human', 'interface', 'computer']]
      >>> dct.doc2bow(texts[0])
      [(10608, 1), (12466, 1), (31002, 1)]
class_docstr_tok: ["Mapping","between","words","and","their","integer","ids",",","using","a","hashing","function",".","Unlike",":","class",":","`","~gensim.corpora.dictionary.Dictionary","`",",","building","a",":","class",":","`","~gensim.corpora.hashdictionary.HashDictionary","`","before","using","it","*","*","is","n't","a","necessary","step","*","*",".","You","can","start","converting","words","to","ids","immediately",",","without","training","on","a","corpus",".","Examples","--","--","--","--","..","sourcecode",":",":","pycon",">",">",">","from","gensim.corpora","import","HashDictionary",">",">",">",">",">",">","dct","=","HashDictionary","(","debug=False",")","#","needs","no","training","corpus","!",">",">",">",">",">",">","texts","=","[","[","'human","'",",","'interface","'",",","'computer","'","]","]",">",">",">","dct.doc2bow","(","texts","[","0","]",")","[","(","10608",",","1",")",",","(","12466",",","1",")",",","(","31002",",","1",")","]"]
docstr: Get all words that have mapped to the given id so far, as a set.
  
  Warnings
  --------
  Works only if you initialized your :class:`~gensim.corpora.hashdictionary.HashDictionary` object
  with `debug=True`.
  
  Parameters
  ----------
  tokenid : int
      Token identifier (result of hashing).
  
  Return
  ------
  set of str
      Set of all words that have mapped to this id.
docstr_tok: ["Get","all","words","that","have","mapped","to","the","given","id","so","far",",","as","a","set",".","Warnings","--","--","--","--","Works","only","if","you","initialized","your",":","class",":","`","~gensim.corpora.hashdictionary.HashDictionary","`","object","with","`","debug=True","`",".","Parameters","--","--","--","--","--","tokenid",":","int","Token","identifier","(","result","of","hashing",")",".","Return","--","--","--","set","of","str","Set","of","all","words","that","have","mapped","to","this","id","."]
code: def __getitem__(self, tokenid):
      """Get all words that have mapped to the given id so far, as a set.
  
      Warnings
      --------
      Works only if you initialized your :class:`~gensim.corpora.hashdictionary.HashDictionary` object
      with `debug=True`.
  
      Parameters
      ----------
      tokenid : int
          Token identifier (result of hashing).
  
      Return
      ------
      set of str
          Set of all words that have mapped to this id.
  
      """
      return self.id2token.get(tokenid, set())
  
file_path: gensim/gensim/corpora/hashdictionary.py
imports: import logging
  import itertools
  import zlib
  from gensim import utils
label_desc: Use image node_id 2 for calling the HashDictionary obj's underlying member method code with example usage: obj.__getitem__(tokenid) and returns: self