In this repo i have develop a Sentiment Analysis of Restaurant Reviews project in machine learning using NLP, and i am using nltk Library for NLP. Deployed in heroku.
- Nowadays we all eat food in most of the restaurants, so it is necessary that we find the best restaurants, or the restaurant owner has to analysis the reviews of his customers that they are positive and negative. To know this, I have developed this project
1). Run all command manually
- Clone github repository in your local system
git clone https://github.com/yogeshnile/Restaurant-Review-Sentiment-Analysis.git
- Move in Restaurant-Review-Sentiment-Analysis repository
cd Restaurant-Review-Sentiment-Analysis
- Create new virtual python environment
python3 -m venv venv
- Activate virtual python environment
source venv/bin/activate
- Install all the libraries mentioned in requirements.txt using
pip install -r requirements.txt
- Run FlaskApp file
python app.py
- Go to your browser and type http://127.0.0.1:5000/ in the address bar.
- Hurray! That's it.
2). Run Shell Script
- Clone github repository in your local system
git clone https://github.com/yogeshnile/unix.git
- Give execute permission to Restaurant-review-sentiment-analysis.sh file via
chmod +x Restaurant-review-sentiment-analysis.sh
- Run Restaurant-review-sentiment-analysis.sh file using
./Restaurant-review-sentiment-analysis.sh
- Go to your browser and type http://127.0.0.1:5000/ in the address bar.
- Finished...
.
├── app.py
├── corpus.pkl
├── Images
│ ├── 1.png
│ ├── 2.png
│ ├── 3.png
│ └── 4.png
├── LICENSE
├── nltk.txt
├── Procfile
├── README.md
├── requirements.txt
├── Restaurant-reviews-model.pkl
├── Restaurant_Reviews.tsv
├── Sentiment Analysis of Restaurant Reviews.py
├── static
│ ├── css
│ │ └── main.css
│ ├── fonts
│ │ ├── font-awesome-4.7.0
│ │ │ ├── css
│ │ │ │ ├── font-awesome.css
│ │ │ │ └── font-awesome.min.css
│ │ │ ├── fonts
│ │ │ │ ├── FontAwesome.otf
│ │ │ │ ├── fontawesome-webfont.eot
│ │ │ │ ├── fontawesome-webfont.svg
│ │ │ │ ├── fontawesome-webfont.ttf
│ │ │ │ ├── fontawesome-webfont.woff
│ │ │ │ └── fontawesome-webfont.woff2
│ │ │ ├── HELP-US-OUT.txt
│ │ │ ├── less
│ │ │ │ ├── animated.less
│ │ │ │ ├── bordered-pulled.less
│ │ │ │ ├── core.less
│ │ │ │ ├── fixed-width.less
│ │ │ │ ├── font-awesome.less
│ │ │ │ ├── icons.less
│ │ │ │ ├── larger.less
│ │ │ │ ├── list.less
│ │ │ │ ├── mixins.less
│ │ │ │ ├── path.less
│ │ │ │ ├── rotated-flipped.less
│ │ │ │ ├── screen-reader.less
│ │ │ │ ├── stacked.less
│ │ │ │ └── variables.less
│ │ │ └── scss
│ │ │ ├── _animated.scss
│ │ │ ├── _bordered-pulled.scss
│ │ │ ├── _core.scss
│ │ │ ├── _fixed-width.scss
│ │ │ ├── font-awesome.scss
│ │ │ ├── _icons.scss
│ │ │ ├── _larger.scss
│ │ │ ├── _list.scss
│ │ │ ├── _mixins.scss
│ │ │ ├── _path.scss
│ │ │ ├── _rotated-flipped.scss
│ │ │ ├── _screen-reader.scss
│ │ │ ├── _stacked.scss
│ │ │ └── _variables.scss
│ │ ├── Linearicons-Free-v1.0.0
│ │ │ ├── icon-font.min.css
│ │ │ └── WebFont
│ │ │ ├── Linearicons-Free.eot
│ │ │ ├── Linearicons-Free.svg
│ │ │ ├── Linearicons-Free.ttf
│ │ │ ├── Linearicons-Free.woff
│ │ │ └── Linearicons-Free.woff2
│ │ └── OpenSans
│ │ ├── OpenSans-BoldItalic.ttf
│ │ ├── OpenSans-Bold.ttf
│ │ ├── OpenSans-ExtraBoldItalic.ttf
│ │ ├── OpenSans-ExtraBold.ttf
│ │ ├── OpenSans-Italic.ttf
│ │ ├── OpenSans-LightItalic.ttf
│ │ ├── OpenSans-Light.ttf
│ │ ├── OpenSans-Regular.otf
│ │ ├── OpenSans-Regular.ttf
│ │ ├── OpenSans-SemiBoldItalic.ttf
│ │ └── OpenSans-SemiBold.ttf
│ ├── images
│ │ └── icons
│ │ ├── favicon.ico
│ │ └── symbol-01.png
│ └── js
│ └── main.js
└── templates
└── index.html
16 directories, 73 files
If you find a bug (the website couldn't handle the query and / or gave undesired results), kindly open an issue here by including your search query and the expected result.
If you'd like to request a new function, feel free to do so by opening an issue here. Please include sample queries and their corresponding results.
Known on internet as Yogesh Nile