Skip to content

Commit

Permalink
"gensim Quick Start" Text clarification and typo correction (#1114)
Browse files Browse the repository at this point in the history
Corrects a typo in code comment and removes a term for text
clarification in "gensim Quick Start"

Signed-off-by: Luiz Carlos Cavalcanti <[email protected]>
  • Loading branch information
luizcavalcanti authored and tmylk committed Jan 29, 2017
1 parent 41ff1f4 commit 14ac419
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/notebooks/gensim Quick Start.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Note that while this list lives entirely in memory, while in most applications you will want a more scalable solution. Luckily, `gensim` allows you to use any iterator that returns a single document vector at a time. See the documentation for more details.\n",
"Note that while this list lives entirely in memory, in most applications you will want a more scalable solution. Luckily, `gensim` allows you to use any iterator that returns a single document vector at a time. See the documentation for more details.\n",
"\n",
"### Model\n",
"\n",
Expand Down Expand Up @@ -282,7 +282,7 @@
"from gensim import models\n",
"# train the model\n",
"tfidf = models.TfidfModel(bow_corpus)\n",
"# transform the \"system minors\" sting\n",
"# transform the \"system minors\" string\n",
"tfidf[dictionary.doc2bow(\"system minors\".lower().split())]"
]
},
Expand Down

0 comments on commit 14ac419

Please sign in to comment.