Naive Bayes with Negation Handling for Sentiment Analysis of Twitter Data

被引:0
|
作者
Kamal, Lobna H. [1 ]
McKee, Gerard T. [1 ]
Othman, Nermin Abdelhakim [1 ,2 ]
机构
[1] British Univ Egypt, Informat & Comp Sci, Cairo, Egypt
[2] Helwan Univ, Comp & Artificial Intelligence, Cairo, Egypt
关键词
sentiment analysis; Naive Bayes; negation handling; POS; Sentiment140; dataset; Twitter;
D O I
10.1109/ISCMI56532.2022.10068474
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
This paper proposes an enhanced negation handling technique for sentiment analysis of Twitter data using the Naive Bayes algorithm and Part-of-Speech (POS) tagging. Negation handling detects negated content in text and can thus improve sentiment prediction. The proposed technique focuses on the detection of direct negation words such as "not" and "no", and implicitly negated content such as "could have been" and "should have been". The paper compares the proposed negation handling technique with an existing negation handling technique. The Sentiment140 dataset is used in the experiments. Naive Bayes with the proposed negation handling technique gave an accuracy of 77.57% while the accuracy of the Naive Bayes with the existing negation handling was 76.93% and the accuracy of the standard Naive Bayes was 76.12 % for a dataset of 1,000,000 tweets. Of these 1,000,000 tweets 197,381 contained one or more negations. Taking these negated tweets alone, the proposed technique showed an improvement over the existing technique and standard Naive Bayes with accuracies respectively of 76.51%, 75.98%, and 75.09%. The improvements and shortcomings of the proposed technique are discussed.
引用
收藏
页码:207 / 212
页数:6
相关论文
共 50 条
  • [1] Improving Sentiment Analysis for Twitter Data by Handling Negation Rules in the Serbian Language
    Ljajic, Adela
    Marovac, Ulfeta
    COMPUTER SCIENCE AND INFORMATION SYSTEMS, 2019, 16 (01) : 289 - 311
  • [2] Sentiment Analysis on Twitter Data-set using Naive Bayes Algorithm
    Parveen, Huma
    Pandey, Shikha
    PROCEEDINGS OF THE 2016 2ND INTERNATIONAL CONFERENCE ON APPLIED AND THEORETICAL COMPUTING AND COMMUNICATION TECHNOLOGY (ICATCCT), 2016, : 416 - 419
  • [3] Comparison of Naive Bayes Smoothing Methods for Twitter Sentiment Analysis
    Ramadhani, Rif'at Ahdi
    Indriani, Fatma
    Nugrahadi, Dodon T.
    2016 INTERNATIONAL CONFERENCE ON ADVANCED COMPUTER SCIENCE AND INFORMATION SYSTEMS (ICACSIS), 2016, : 287 - 291
  • [4] Twitter Sentiment Analysis Using a Modified Naive Bayes Algorithm
    Masrani, Manav
    Poornalatha, G.
    INFORMATION SYSTEMS ARCHITECTURE AND TECHNOLOGY, PT I, 2018, 655 : 171 - 181
  • [5] Combining Naive Bayes and Adjective Analysis for Sentiment Detection on Twitter
    Mertiya, Mohit
    Singh, Ashima
    2016 INTERNATIONAL CONFERENCE ON INVENTIVE COMPUTATION TECHNOLOGIES (ICICT), VOL 2, 2016, : 500 - 505
  • [6] Feature-Based Twitter Sentiment Analysis With Improved Negation Handling
    Gupta, Itisha
    Joshi, Nisheeth
    IEEE TRANSACTIONS ON COMPUTATIONAL SOCIAL SYSTEMS, 2021, 8 (04): : 917 - 927
  • [7] Naive Bayes Classifier on Twitter Sentiment Analysis BPJS']JS of HEALTH
    Kristanto, Sepyan Purnama
    Prasetyo, Junaedi Adi
    Pramana, Edwin
    2019 2ND INTERNATIONAL CONFERENCE OF COMPUTER AND INFORMATICS ENGINEERING (IC2IE 2019): ARTIFICIAL INTELLIGENCE ROLES IN INDUSTRIAL REVOLUTION 4.0, 2019, : 24 - 28
  • [8] A novel classification approach based on Naive Bayes for Twitter sentiment analysis
    Song, Junseok
    Kim, Kyung Tae
    Lee, Byungjun
    Kim, Sangyoung
    Youn, Hee Yong
    KSII TRANSACTIONS ON INTERNET AND INFORMATION SYSTEMS, 2017, 11 (06): : 2996 - 3011
  • [9] Effect of Training Set Size on SVM and Naive Bayes for Twitter Sentiment Analysis
    Abdelwahab, Omar
    Bahgat, Mohamed
    Lowrance, Christopher J.
    Elmaghraby, Adel
    2015 IEEE INTERNATIONAL SYMPOSIUM ON SIGNAL PROCESSING AND INFORMATION TECHNOLOGY (ISSPIT), 2015, : 46 - 51
  • [10] A Negation Handling Technique for Sentiment Analysis
    Diamantini, Claudia
    Mircoli, Alex
    Potena, Domenico
    2016 INTERNATIONAL CONFERENCE ON COLLABORATION TECHNOLOGIES AND SYSTEMS (CTS), 2016, : 188 - 195