Skip to content

Commit

Permalink
fix typo in Chapter3 notebook, Vocabulary.add_many()
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorDzreyev committed Feb 24, 2019
1 parent 904032f commit 08ed1ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
" Returns:\n",
" indices (list): a list of indices corresponding to the tokens\n",
" \"\"\"\n",
" return [self.add_token[token] for token in tokens]\n",
" return [self.add_token(token) for token in tokens]\n",
"\n",
" def lookup_token(self, token):\n",
" \"\"\"Retrieve the index associated with the token \n",
Expand Down

0 comments on commit 08ed1ef

Please sign in to comment.