Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

NLP Classifying Positive & Negative Restaurant Reviews

(Bag of Words Model)


A Mini-Project Report submitted to
JNTUA, Ananthapuramu
In partial fulfilment of the requirements for the award of the degree of

Bachelor of Technology
(Computer Science & Engineering)

By
P. VARSHITHA (19KB1A05C5)
P. POORNIMA (19KB1A05B9)
P. SAIVARDHAN (19KB1A05C0)
P.SAI (19KB1A05C6)

Under the esteemed Guidance of


Mr. K. Penchalaiah, B. Tech, M. Tech
Assistant Professor, Department of CSE

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING


N.B.K.R. INSTITUTE OF SCIENCE & TECHNOLOGY
VIDYANAGAR – 524413, TIRUPATI DIST, AP
(AUTONOMOUS)
MAY 2022
Webite: www.nbkrist.org PhNo: 08624-228 247

Email: ist@nbkrist.org Fax: 08624-228 257

N.B.K.R. INSTITUTE OF SCIENCE & TECHNOLOGY


(Autonomous)
(Approved by AICTE: Accredited by NBA: Affiliated to JNTUA, Ananthapuram)

An ISO 9001-2000 Certified Institution


Vidyanagar-524413, Tirupati District, Andhra Pradesh, India

BONAFIDE CERTIFICATE

This is to certify that the major project work entitled “NLP CLASSIFYING POSITIVE &
NEGATIVE RESTAURANT REVIEWS” is a bonified work done by P. VARSHITHA
(19KB1A05C5), P. POORNIMA (19KB1A05B9), P. SAI VARDHAN (19KB1A05C0), P.
SAI (19KB1A05C6) in the department of Computer Science & Engineering, N.B.K.R.
Institute of Science & Technology, Vidyanagar and is submitted to JNTUA,
Ananthapuramu in the partial fulfilment for the award of B. Tech degree in Computer
Science & Engineering. This work has been carried out under my supervision.

Mr. K. Penchalaiah Dr. A. Rajasekhar Reddy


Asst. Professor, Professor & Head,
Department of CSE, Department of CSE,
NBKRIST, Vidyanagar. NBKRIST, Vidyanagar.

Submitted for the Viva-Voce Examination held on________________

Internal Examiner External Examiner


ACKNOWLEDGEMENT
The satisfaction that accompanies the successful completion of a project
would be incomplete without the people who made it possible of their consistent
guidance and encouragement crowned our efforts with success.

We would like to express my profound sense of gratitude to our project guided


Mr.K. PENCHALAIAH, B. Tech, M. Tech , Assistant Professor,
Department of Computer Science & Engineering, N.B.K.R.I.S.T (Affiliated to
JNTUA, Anantapuram), Vidyanagar, for his masterful guidance and the constant
encouragement throughout the project. My sincere appreciations for his suggestions
and unmatched services without, which this work would have been an unfulfilled
dream.

We convey our special thanks to Dr. Y. VENKATARAMI REDDY,


respectable chairman of N.B.K.R. Institute of Science and Technology, for providing
excellent infrastructure in our campus for the completion of the project.

We convey our special thanks to Sri. N RAM KUMAR, respectable of


N.B.K.R. Institute of Science and Technology, for providing excellent infrastructure
in our campus for the completion of the project.

We are grateful to Dr. V VIJAYA KUMAR REDDY, Director, N.B.K.R.


Institute of Science and Technology for allowing us to avail all the facilities in the
college.

We express our sincere gratitude to Dr. A RAJA SEKHAR REDDY,


Professor & Head of Department, Computer Science & Engineering, for providing
exceptional facilities for successful completion of our project work.

We would like to convey our heartful thanks to Staff Members, Lab


Technicians, and my friends, who extend their cooperation in making this project as
a successful one.

We would like to thank one and all who have helped me directly and indirectly
to complete this project successfully.
NLP CLASSIFYING POSITIVE & NEGATIVE RESTAURANT
REVIEWS
ABSTRACT

The use of social networking sites has increased tremendously. People use social
media platforms to share their views on almost all subjects. These views are in
various forms like, blogs, tweets, Facebook posts, online discussion boards,
Instagram posts, etc. Sentiment analysis deals with the process of computationally
defining and classifying the views expressed in the comment, post or document.
Typically, the aim of sentiment analysis is to find out the customer’s attitude
towards a product or service.
In this project, we perform sentiment analysis and classifies each comment
as positive, negative. Secondly, by using text categorization techniques, comments
are automatically classified according to feedback about food taste, ambiance,
service, and value for money. A dataset of around 1000 records was used for
training and testing. Several algorithms were used for classification, including
Gaussian and multinomial Naive Bayes, Logistic Regression, Decision Tree, K-
Nearest Neighbours (KNN), Support Vector Machine (SVM), XGBoost and
Random Forest classification tech. The performance comparison of these
algorithms is presented.
TABLE OF CONTENTS
CHAPTER NO CHAPTER NAME PAGE NO
ABSTARCT
CHAPTER 1: INTRODUCTION 1
1.1 AIM & OBJECTIVE
1.2 SCHEME OF CHAPTERISATION
CHAPTER 2: SURVEY OF LITERATURE 4-9
2.1 INTRODUCTION
2.2 LITERATURE SURVEY
2.3 EXISTING SYSTEM
2.3.1 Drawbacks
2.4 PROPOSED SYSTEM
2.4.1 Advantages
CHAPTER 3: DESIGN ISSUES 10-26
3.1 SYSTEM DESIGN
3.1.1 Description about modules
3.2 UML DIAGRAMS
3.2.1 CLASS DIAGRAM
3.2.2 USE CASE DIAGRAM
3.2.3 ACTIVITY DIAGRAM
3.2.4 COLLABORATION DIAGRAM
32.5 DEPLOYMENT DIAGRAM
CHAPTER 4: IMPLEMENTATION ISSUES 27-39
4.1INTRODUCTION
4.2 REQUIREMENTS
4.2.1 HARDWARE REQURIMENTS
4.2.2 SOFTWARE REQURIMENTS
4.3 SYSTEM ARCHITECTURE
4.4 DATASETS USED
4.6 LIBRARIES
CHAPTER 5: SOURCE CODE
CHAPTER 6: SNAPSHOTS
6.1 TEST CASES
CHAPTER 7: CONCLUSION & FUTURE ENHANCEMENTS 40-41
CHAPTER 8: BIBLIOGRAPHY 42-44
REFERENCES
WEBSITES

You might also like