IDEAS home Printed from https://ideas.repec.org/a/cxi/jcsit0/v2y2025i2id850.html

Sentiment Analysis of Social Media Posts using BERT: A Case Study on Consumer Products

Author

Listed:
  • Md Mainul Islam

    (Adjunct Faculty, Department of CSE, United International University, Dhaka, Bangladesh)

Abstract

Sentiment Analysis is important to analyze consumer feedback especially in the social media where large amounts of data are being created every day. The paper explores how BERT (Bidirectional Encoder Representations from Transformers) a state of the art deep learning model may be used to analyze the sentiment of social media posts on consumer products. We use BERT on a customer review case study on Twitter, Instagram, and Facebook of a well-known consumer product. The analysis categorizes the sentiment into three namely, positive, neutral and negative giving an insight about the consumer sentiment. This paper presents a research proposal to a new sentiment analysis system with BERT networks to classify consumer review texts in the e- commerce Big Data setting. First, the author applies the pre-trained model of BERT to unlabeled text allowing the retrieval of more informative and contextually informed word embeddings. These embeddings are feature vectors that contain more textual features. The fusion of BERT enables us to narrow down the feature vector representation and the sentiment classification becomes more precise. Build a sentiment analysis model based on the integrated BERT model which is aimed at enhancing the effectiveness of sentiment classification by combining contextual features. The suggested approach is evaluated against three other conventional sentiment analysis approaches based on the identical dataset. The experimental data prove that BERT-based approach is better than the others with the precision, recall, and F1-Measure values of 92.64, 90.32, and 91.46, respectively. These findings suggest that BERT has been effective in deriving subtle contextual data and enhances the accuracy of sentiment analysis in consumer reviews in the e-commerce industry.

Suggested Citation

  • Md Mainul Islam, 2025. "Sentiment Analysis of Social Media Posts using BERT: A Case Study on Consumer Products," Journal of Computer Science and Information Technology, Bluemark Publishers, vol. 2(2), pages 74-86, November.
  • Handle: RePEc:cxi:jcsit0:v:2:y:2025:i:2:id:850
    DOI: 10.61424/jcsit.v2i2.850
    as

    Download full text from publisher

    File URL: https://bluemarkpublishers.com/index.php/JCSIT/article/view/850
    File Function: Abstract page
    Download Restriction: no

    File URL: https://bluemarkpublishers.com/index.php/JCSIT/article/download/850/649
    File Function: Full text
    Download Restriction: no

    File URL: https://libkey.io/10.61424/jcsit.v2i2.850?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    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:cxi:jcsit0:v:2:y:2025:i:2:id:850. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Editorial Team (email available below). General contact details of provider: https://bluemarkpublishers.com/index.php/JCSIT .

    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.