Sentiment Analysis and Classification of Restaurant Reviews using Machine Learning

Kanwal Zahoor, N. Bawany, Soomaiya Hamid
{"title":"Sentiment Analysis and Classification of Restaurant Reviews using Machine Learning","authors":"Kanwal Zahoor, N. Bawany, Soomaiya Hamid","doi":"10.1109/ACIT50332.2020.9300098","DOIUrl":null,"url":null,"abstract":"In the last few years 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. Customers' feedback is vital for businesses, and social media being a powerful platform, can be used to improve and enhance business opportunities if the feedback on social media can be analyzed timely. Therefore, the focus of this paper is to analyze the customer reviews about various restaurants across Karachi - one of the biggest cities of Pakistan. For this research, customer reviews are collected from a very popular Facebook community- the SWOT'S guide to Karachi's restaurants. The contribution of this research is twofold. First, it performs sentiment analysis and classifies each comment as positive, negative. Second, by using text categorization techniques, comments are automatically classified according to feedback about food taste, ambiance, service, and value for money. A manually annotated dataset of around 4000 records was used for training and testing. Several algorithms were used for classification, including Naive Bayes Classifier, Logistic Regression, Support Vector Machine (SVM), and Random Forest. The performance comparison of these algorithms is presented. The best results, that is 95% accuracy, were achieved by using a random forest algorithm.","PeriodicalId":193891,"journal":{"name":"2020 21st International Arab Conference on Information Technology (ACIT)","volume":"279 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-11-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"14","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 21st International Arab Conference on Information Technology (ACIT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ACIT50332.2020.9300098","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 14

Abstract

In the last few years 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. Customers' feedback is vital for businesses, and social media being a powerful platform, can be used to improve and enhance business opportunities if the feedback on social media can be analyzed timely. Therefore, the focus of this paper is to analyze the customer reviews about various restaurants across Karachi - one of the biggest cities of Pakistan. For this research, customer reviews are collected from a very popular Facebook community- the SWOT'S guide to Karachi's restaurants. The contribution of this research is twofold. First, it performs sentiment analysis and classifies each comment as positive, negative. Second, by using text categorization techniques, comments are automatically classified according to feedback about food taste, ambiance, service, and value for money. A manually annotated dataset of around 4000 records was used for training and testing. Several algorithms were used for classification, including Naive Bayes Classifier, Logistic Regression, Support Vector Machine (SVM), and Random Forest. The performance comparison of these algorithms is presented. The best results, that is 95% accuracy, were achieved by using a random forest algorithm.
使用机器学习的餐厅评论情感分析和分类
在过去的几年里,社交网站的使用急剧增加。人们使用社交媒体平台来分享他们对几乎所有话题的看法。这些视图有各种形式,如博客、推特、Facebook帖子、在线讨论板、Instagram帖子等。情感分析是对评论、帖子或文档中表达的观点进行计算定义和分类的过程。通常,情感分析的目的是找出客户对产品或服务的态度。客户的反馈对企业来说是至关重要的,而社交媒体作为一个强大的平台,如果能够及时分析社交媒体上的反馈,就可以用来改善和增加商业机会。因此,本文的重点是分析顾客对卡拉奇各餐厅的评论-巴基斯坦最大的城市之一。在这项研究中,顾客的评论是从一个非常受欢迎的Facebook社区——SWOT对卡拉奇餐馆的指导中收集的。这项研究的贡献是双重的。首先,它进行情绪分析,并将每个评论分类为积极的,消极的。其次,通过使用文本分类技术,根据对食物味道、氛围、服务和物有所值的反馈,对评论进行自动分类。一个大约4000条记录的人工注释数据集用于训练和测试。分类使用了几种算法,包括朴素贝叶斯分类器、逻辑回归、支持向量机(SVM)和随机森林。对这些算法进行了性能比较。使用随机森林算法获得的最佳结果为95%的准确率。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信