Created
April 16, 2022 07:57
-
-
Save srang992/9d691f5c18823f7542b09283b35e995e to your computer and use it in GitHub Desktop.
importing necessary libraries for making a simple recommendation system
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import numpy as np | |
import re | |
import nltk | |
from sklearn.feature_extraction.text import TfidfVectorizer | |
from sklearn.metrics.pairwise import cosine_similarity | |
nltk.download('stopwords') | |
nltk.download('punkt') | |
from nltk import word_tokenize | |
from nltk.corpus import stopwords |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment