IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i21p3405-d1511059.html
   My bibliography  Save this article

A Stacking Ensemble Based on Lexicon and Machine Learning Methods for the Sentiment Analysis of Tweets

Author

Listed:
  • Sharaf J. Malebary

    (Department of Information Technology, Faculty of Computing and Information Technology, King Abdulaziz University, P.O. Box 344, Rabigh 21911, Saudi Arabia)

  • Anas W. Abulfaraj

    (Department of Information Systems, Faculty of Computing and Information Technology, King Abdulaziz University, P.O. Box 344, Rabigh 21911, Saudi Arabia)

Abstract

Sentiment is employed in various fields, such as collecting web-based opinions for the formulation of governmental policies, measuring employee and customer satisfaction levels in business organizations, and measuring the sentiment of the public in political and security matters. The field has recently faced new challenges since algorithms must operate with highly unstructured sentiment data from social media. In this study, the authors present a new stacking ensemble method that combines the lexicon-based approach with machine learning algorithms to improve the sentiment analysis of tweets. Due to the complexity of the text with very ill-defined syntactic and grammatical patterns, using lexicon-based techniques to extract sentiment from the content is proposed. On the same note, the contextual and nuanced aspects of sentiment are inferred through machine learning algorithms. A sophisticated bat algorithm that uses an Elman network as a meta-classifier is then employed to classify the extracted features accurately. Substantial evidence from three datasets that are readily available for public analysis re-affirms the improvements this innovative approach brings to sentiment classification.

Suggested Citation

  • Sharaf J. Malebary & Anas W. Abulfaraj, 2024. "A Stacking Ensemble Based on Lexicon and Machine Learning Methods for the Sentiment Analysis of Tweets," Mathematics, MDPI, vol. 12(21), pages 1-21, October.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:21:p:3405-:d:1511059
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/21/3405/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/21/3405/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Dania Saleem Malik & Tariq Shah & Sara Tehsin & Inzamam Mashood Nasir & Norma Latif Fitriyani & Muhammad Syafrudin, 2024. "Block Cipher Nonlinear Component Generation via Hybrid Pseudo-Random Binary Sequence for Image Encryption," Mathematics, MDPI, vol. 12(15), pages 1-25, July.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.

      Corrections

      All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:12:y:2024:i:21:p:3405-:d:1511059. See general information about how to correct material in RePEc.

      If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

      If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

      If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

      For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

      Please note that corrections may take a couple of weeks to filter through the various RePEc services.

      IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.