diff --git a/gensim/corpora/dictionary.py b/gensim/corpora/dictionary.py index 6ee641366b..6f40f252aa 100644 --- a/gensim/corpora/dictionary.py +++ b/gensim/corpora/dictionary.py @@ -82,7 +82,6 @@ def __init__(self, documents=None, prune_at=2000000): msg=f"built {self} from {self.num_docs} documents (total {self.num_pos} corpus positions)", ) - def __getitem__(self, tokenid): """Get the string token that corresponds to `tokenid`.