A simple flask app recommends restaurants in different cities based on User Moods and Other Filters.
-
Create Virtual Environment for the project
python -m venv <venv-name>
-
Install the dependencies:
pip install numpy pandas matplotlib seaborn wordcloud nltk flask
-
For nltk package, download the
stopwords
andwordnet3.1
(rename it to wordnet after download) from https://www.nltk.org/nltk_data/. After download , uzip them.Createnltk_data\corpora
folder in theC drive
and put the stopwords and wordnet folder there.Set yourNLTK_DATA
environment variable to point to your top levelC:\nltk_data
folder(system variables).Refer ,https://www.nltk.org/data.html
flask run
-(redirect to)> http://localhost:8080
Laziness mood food restaurants