Prosiding Seminar Nasional Ilmu Teknik
Vol. 2 No. 2 (2025): Desember: Prosiding Seminar Nasional Ilmu Teknik

Perbandingan Akurasi BERT dan RNN pada Analisis Sentimen Komentar Hotel




Article Info

Publish Date
30 Dec 2025

Abstract

The increasing volume of online hotel reviews provides valuable insights into customer perceptions but poses challenges for manual analysis due to its unstructured nature. This study aims to compare the performance of Recurrent Neural Network (RNN) and Bidirectional Encoder Representations from Transformers (BERT) in hotel review sentiment analysis. A total of 20,491 TripAdvisor hotel reviews were classified into three sentiment categories: negative, neutral, and positive. The research methodology includes text preprocessing, stratified data splitting, class imbalance handling using Random Over-Sampling, tokenization, and supervised model training. Model performance was evaluated using a confusion matrix and classification metrics. The results indicate that BERT outperforms RNN, achieving an accuracy of 80.54%, while RNN reached 62.21%. BERT demonstrated superior capability in capturing contextual and semantic information in hotel reviews. These findings suggest that transformer-based models are more effective for sentiment analysis of complex textual data in the hospitality domain and can support data-driven service improvement strategies.    

Copyrights © 2025






Journal Info

Abbrev

PROSEMNASPROIT

Publisher

Subject

Civil Engineering, Building, Construction & Architecture Computer Science & IT Electrical & Electronics Engineering Engineering

Description

Prosiding Seminar Nasional Ilmu Teknik, Its a collection of papers or scientific articles that have been presented at the National Research Conference which is held regularly every two years by the Asosiasi Riset Ilmu Teknik Indonesia. The paper topics published in the Prosiding Seminar Nasional ...