JIPI (Jurnal Ilmiah Penelitian dan Pembelajaran Informatika)
Vol 10, No 2 (2025)

Sentiment Classification in E-Commerce Using Naïve Bayes and Combined Lexicon - N-Gram Features

Al Ghazali, Nabiel Muhammad (Unknown)
Sibaroni, Yuliant (Unknown)



Article Info

Publish Date
05 Mar 2025

Abstract

This study investigates sentiment classification in e-commerce using Naïve Bayes with lexicon-based, N-gram, and combined lexicon-N-gram features. While previous research has employed various e-commerce platforms and achieved varying degrees of accuracy using Naïve Bayes for sentiment analysis, the combination of lexicon and N-gram features with Naïve Bayes has not been extensively explored in e-commerce contexts. This study proposes to evaluate three models: Naïve Bayes with Lexicon Features, Naïve Bayes with N-Gram Features, and Naïve Bayes with Combined Lexicon-N-Gram Features. The research analyzes 10,000 customer reviews of the Shopee application from the Google Play Store. Results show that the Naïve Bayes model using combined lexicon-N-gram features achieved the highest performance among the three approaches. Using 10-fold cross-validation, the combined model achieved an average accuracy of 83.4%. The N-gram model showed strong performance with an average accuracy of 82.8%, while the lexicon-based model demonstrated lower performance with an average accuracy of 77%. These findings contribute to the field of sentiment analysis in e-commerce, highlighting the effectiveness of combining lexicon and N-gram features when used with Naïve Bayes classifiers. The study provides insights into optimizing sentiment classification techniques for e-commerce platforms, emphasizing the importance of leveraging both semantic and contextual information in sentiment analysis tasks.

Copyrights © 2025






Journal Info

Abbrev

Publisher

Subject

Computer Science & IT Education

Description

JIPI (Jurnal Ilmiah Penelitian dan Pembelajaran Informatika) e-ISSN: 2540 - 8984 was made to accommodate the results of scientific work in the form of research or papers are made in the form of journals, particularly the field of Information Technology. JIPI is a journal that is managed by the ...