Classification of hotel reviews using sentiment analysis and machine learning
Date
2022-09
Journal Title
Journal ISSN
Volume Title
Publisher
BRAC University
Abstract
Social media has become essential for people all over the world. It has given a platform
for people to share thoughts, emotions, opinions, and ideas, causing a huge
deal of data upsurge. Such an amount of data could be analyzed based on sentiment
analysis and text classification via construction of an effective machine learning
model. The concept gets more insight into it through analysis of the data, which is
nearly impossible to conduct manually due to its huge configuration. This research
focuses on the user’s comments, and reviews about different hotels to predict their
sentiment. As for the datasets, comments and reviews of hotels from online sites
have been utilized. Moreover, text pre-processing techniques like tokenization, case
folding, stopword removal, lemmatization, and duplicate data removal have been
applied. TF-IDF and Bag of Words has been applied for word embedding. Furthermore,
the effectiveness of supervised machine learning algorithms like, Support
Vector Machine, Na¨ıve Bayes, Random Forest, and Logistic Regression was evaluated
and from the comparative analysis, it was observed that the Logistic Regression
provided the most accuracy ranging from 86 to 89 percent.
Description
Catalogued from PDF version of thesis.
Includes bibliographical references (pages 34-36).
This thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science, 2022.
Includes bibliographical references (pages 34-36).
This thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science, 2022.
Keywords
Sentiment analysis, Word embedding, Classifier, Tokenization, Decision tree, Random forest, Logistic regression
