Journal of Computer Engineering: Progress, Application and Technology
Vol 5 No 02 (2026): November 2026

Preprocessing Choices and N-gram Representation in Indonesian Product Review Sentiment Classification

Akmal Faiz Agiputra (Universitas Negeri Semarang)
Jumanto Unjung (Universitas Negeri Semarang)



Article Info

Publish Date
12 Nov 2026

Abstract

The large volume of unstructured Indonesian product reviews on e-commerce platforms creates the need for effective sentiment classification methods. Previous studies have shown that the effectiveness of preprocessing techniques, Term Frequency-Inverse Document Frequency (TF-IDF) n-gram representations, and classification models may vary across datasets and experimental settings. This study analyzes the interaction between preprocessing scenarios, TF-IDF feature representations, and classification models for Indonesian product review sentiment classification. Experiments were conducted on the PRDECT-ID dataset using eight preprocessing scenarios, two TF-IDF n-gram representations, and Logistic Regression and Multilayer Perceptron (MLP) classifiers, evaluated with Stratified 5-Fold Cross Validation. The best configuration, combining case folding, text normalization, stopword removal, and unigram-bigram TF-IDF features with an MLP classifier, achieved an F1-score of 95.14%. Unigram-bigram representation consistently outperformed unigram across all experimental settings. Scenarios involving stemming did not consistently outperform simpler combinations such as case folding and normalization, which achieved the highest average F1-scores (94.12%-94.44%) across most models. These findings indicate that performance is influenced by the interaction between preprocessing, feature representation, and classification models, with unigram-bigram representation providing the most consistent improvements. Overall, this study provides a systematic analysis of these interactions in Indonesian product review sentiment classification.

Copyrights © 2026






Journal Info

Abbrev

cepat

Publisher

Subject

Computer Science & IT

Description

CEPAT is a peer-reviewed journal that is published quarterly (every three months) in February, May, August and November. CEPAT is published by the Department of Computer Engineering, School of Electrical Engineering, Telkom University, and was first published in May 2022. CEPAT aims to encourage ...