ronirigoni commited on
Commit
97874c3
1 Parent(s): 2e720e3

Primeiro teste do recommender

Browse files
Files changed (1) hide show
  1. imdb_recommender.py +2 -0
imdb_recommender.py CHANGED
@@ -1,6 +1,8 @@
1
  import numpy as np
2
  import pandas as pd
3
  import re
 
 
4
  from nltk import sent_tokenize, word_tokenize
5
  from nltk.stem.snowball import SnowballStemmer
6
  from sklearn.feature_extraction.text import TfidfVectorizer
 
1
  import numpy as np
2
  import pandas as pd
3
  import re
4
+ import nltk
5
+ nltk.download('punkt')
6
  from nltk import sent_tokenize, word_tokenize
7
  from nltk.stem.snowball import SnowballStemmer
8
  from sklearn.feature_extraction.text import TfidfVectorizer