使用机器学习算法对Twitter文本进行情感分析

Hawar Barzenji
{"title":"使用机器学习算法对Twitter文本进行情感分析","authors":"Hawar Barzenji","doi":"10.21541/apjes.939338","DOIUrl":null,"url":null,"abstract":"Since the two last decades social media networks have become a part of our daily life. Today, getting information from social media, tracking trends in social media, learning the feelings and emotions of people on social media is very essential. In this study, sentiment analysis was performed on Twitter text to learn about the subjective polarities of the writings. The polarities are positive, negative, and neutral. At the first stage of the sentiment analysis a public data set has been obtained. Secondly, natural language processing techniques have been applied to make the data ready for machine learning training procedures. Lastly sentiment analysis is performed by using three different machine learning algorithms. We reached 89% accuracy with Support Vector Machines, 88% accuracy with Random Forest, and 72% accuracy with Gaussian Naive Bayes classifier.","PeriodicalId":294830,"journal":{"name":"Academic Platform Journal of Engineering and Science","volume":"15 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-09-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":"{\"title\":\"Sentiment analysis of Twitter texts using Machine learning algorithms\",\"authors\":\"Hawar Barzenji\",\"doi\":\"10.21541/apjes.939338\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Since the two last decades social media networks have become a part of our daily life. Today, getting information from social media, tracking trends in social media, learning the feelings and emotions of people on social media is very essential. In this study, sentiment analysis was performed on Twitter text to learn about the subjective polarities of the writings. The polarities are positive, negative, and neutral. At the first stage of the sentiment analysis a public data set has been obtained. Secondly, natural language processing techniques have been applied to make the data ready for machine learning training procedures. Lastly sentiment analysis is performed by using three different machine learning algorithms. We reached 89% accuracy with Support Vector Machines, 88% accuracy with Random Forest, and 72% accuracy with Gaussian Naive Bayes classifier.\",\"PeriodicalId\":294830,\"journal\":{\"name\":\"Academic Platform Journal of Engineering and Science\",\"volume\":\"15 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-09-30\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"5\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Academic Platform Journal of Engineering and Science\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.21541/apjes.939338\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Academic Platform Journal of Engineering and Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.21541/apjes.939338","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

摘要

在过去的二十年里,社交媒体网络已经成为我们日常生活的一部分。今天,从社交媒体上获取信息,跟踪社交媒体的趋势,了解人们在社交媒体上的感受和情绪是非常必要的。在本研究中,对Twitter文本进行情感分析,以了解写作的主观极性。极性是积极的、消极的和中性的。在情感分析的第一阶段,获得了一个公共数据集。其次,应用自然语言处理技术使数据为机器学习训练程序做好准备。最后,使用三种不同的机器学习算法进行情感分析。我们使用支持向量机达到89%的准确率,使用随机森林达到88%的准确率,使用高斯朴素贝叶斯分类器达到72%的准确率。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Sentiment analysis of Twitter texts using Machine learning algorithms
Since the two last decades social media networks have become a part of our daily life. Today, getting information from social media, tracking trends in social media, learning the feelings and emotions of people on social media is very essential. In this study, sentiment analysis was performed on Twitter text to learn about the subjective polarities of the writings. The polarities are positive, negative, and neutral. At the first stage of the sentiment analysis a public data set has been obtained. Secondly, natural language processing techniques have been applied to make the data ready for machine learning training procedures. Lastly sentiment analysis is performed by using three different machine learning algorithms. We reached 89% accuracy with Support Vector Machines, 88% accuracy with Random Forest, and 72% accuracy with Gaussian Naive Bayes classifier.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Design Equation for Operating Frequency of Patch Antenna with a Rectangular Tuning Stub at Early Phase 5G Bands Gasification of Forest Residues for Sustainable Development in the Mediterranean Region of Turkey NUMERICAL STUDY ON SUSPENDED SEDIMENT TRANSPORT UNDER THE EFFECT OF WATER TEMPERATURE IN RESERVOIRS/LAKES Kopula Yöntemi ile Osmaniye Bölgesinin İki Değişkenli Kuraklık Frekans Analizi Investigating the Effects of Temperature and Relative Humidity on Performance Ratio of a Grid Connected Photovoltaic System
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1