Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
@@ -52,6 +52,7 @@ import nltk
|
|
52 |
from nltk.corpus import stopwords
|
53 |
from nltk.tokenize import word_tokenize
|
54 |
from nltk.stem import WordNetLemmatizer
|
|
|
55 |
|
56 |
from sklearn.feature_extraction.text import TfidfVectorizer
|
57 |
from sklearn.metrics.pairwise import cosine_similarity
|
|
|
52 |
from nltk.corpus import stopwords
|
53 |
from nltk.tokenize import word_tokenize
|
54 |
from nltk.stem import WordNetLemmatizer
|
55 |
+
nltk.download('punkt')
|
56 |
|
57 |
from sklearn.feature_extraction.text import TfidfVectorizer
|
58 |
from sklearn.metrics.pairwise import cosine_similarity
|