Skip to content

Commit

Permalink
Fix quote of vocabulary from gensim.models.Word2Vec (#2161)
Browse files Browse the repository at this point in the history
  • Loading branch information
nzw0301 authored and menshikh-iv committed Aug 27, 2018
1 parent 7fedf5a commit 3ccbb2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gensim/models/word2vec.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ class Word2Vec(BaseWordEmbeddingsModel):
This object essentially contains the mapping between words and embeddings. After training, it can be used
directly to query those embeddings in various ways. See the module level docstring for examples.
vocabulary : :class:'~gensim.models.word2vec.Word2VecVocab'
vocabulary : :class:`~gensim.models.word2vec.Word2VecVocab`
This object represents the vocabulary (sometimes called Dictionary in gensim) of the model.
Besides keeping track of all unique words, this object provides extra functionality, such as
constructing a huffman tree (frequent words are closer to the root), or discarding extremely rare words.
Expand Down

0 comments on commit 3ccbb2e

Please sign in to comment.