From 401ff9318fae176693fe904e497560628abef916 Mon Sep 17 00:00:00 2001 From: Artem Krivopolenov Date: Fri, 25 Jun 2021 15:09:02 +0200 Subject: [PATCH] resource is missing makes "tokens = nltk.word_tokenize(text, 'english')" failing --- 1. Foundations of NLP.ipynb | 1 + 1 file changed, 1 insertion(+) diff --git a/1. Foundations of NLP.ipynb b/1. Foundations of NLP.ipynb index 4a0e003..f612810 100644 --- a/1. Foundations of NLP.ipynb +++ b/1. Foundations of NLP.ipynb @@ -36,6 +36,7 @@ "\n", "import string\n", "import nltk\n", + "nltk.download('punkt')\n", "from nltk.corpus import stopwords \n", "from nltk.text import TextCollection\n", "from nltk.collocations import BigramCollocationFinder\n",