Skip to content

Commit

Permalink
Fix set syntax in sparse vector
Browse files Browse the repository at this point in the history
  • Loading branch information
tmylk authored Oct 28, 2016
1 parent 3b9bb59 commit f9a0eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ The whole `gensim` package revolves around the concepts of :term:`corpus`, :term

Gensim does not prescribe any specific corpus format;
a corpus is anything that, when iterated over, successively yields these sparse vectors.
For example, `set([(2, 2.0), (3, 5.0)], ([0, -1.0], [3, -1.0]))` is a trivial
For example, `set((((2, 2.0), (3, 5.0)), ((0, 1.0), (3, 1.0))))` is a trivial
corpus of two documents, each with two non-zero `feature-answer` pairs.


Expand Down

0 comments on commit f9a0eab

Please sign in to comment.