Skip to content

Commit

Permalink
Fix quoting that break doc2vec-IMDB notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
menshikh-iv authored Mar 13, 2018
1 parent dc97c51 commit 7459831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/notebooks/doc2vec-IMDB.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
"\n",
"alldocs = [] # Will hold all docs in original order\n",
"with smart_open('aclImdb/alldata-id.txt', 'rb') as alldata:\n",
" alldata = alldata.read().decode("utf-8")\n",
" alldata = alldata.read().decode('utf-8')\n",
" for line_no, line in enumerate(alldata):\n",
" tokens = gensim.utils.to_unicode(line).split()\n",
" words = tokens[1:]\n",
Expand Down

0 comments on commit 7459831

Please sign in to comment.