def __getitem__(self, tokenid):
    'Get all words that have mapped to the given id so far, as a set.\n\n        Warnings\n        --------\n        Works only if `debug=True`.\n\n        Parameters\n        ----------\n        tokenid : int\n            Token identifier (result of hashing).\n\n        Return\n        ------\n        set of str\n            Set of all corresponding words.\n\n        '
    return self.id2token.get(tokenid, set())
Get all words that have mapped to the given id so far, as a set.

Warnings
--------
Works only if `debug=True`.

Parameters
----------
tokenid : int
    Token identifier (result of hashing).

Return
------
set of str
    Set of all corresponding words.
def __getitem__(self, tokenid):
    'Get all words that have mapped to the given id so far, as a set.\n\n        Warnings\n        --------\n        Works only if `debug=True`.\n\n        Parameters\n        ----------\n        tokenid : int\n            Token identifier (result of hashing).\n\n        Return\n        ------\n        set of str\n            Set of all corresponding words.\n\n        '
    return self.id2token.get(tokenid, set())