The results of the 2024 Indonesian presidential election decided that Prabowo Subianto and Gibran Rakabuming Raka became the elected pair of Indonesian presidential and vice-presidential candidates in 2024. The pair's election triggered various public reactions, especially on social media platforms. Some social media platforms provided diverse opinions, indicating a wide variety of views on this issue. This research aims to analyze public opinion after the election of the 2024 Indonesian president by comparing sentiment using TextBlob, VADER (Valence Aware Dictionary and sEntiment Reasoner), and Flair. Training and testing are done with the IndoBERT model to determine the most effective sentiment labeling. This research starts by collecting text data from social media X, YouTube, and Instagram, then preprocessing, translating, and labeling data using three libraries, training, and testing using IndoBERT. The results of training and testing data show that Flair has an accuracy of 81.29%, TextBlob has an accuracy of 73.35%, and VADER has an accuracy of 74.86%. From the accuracy results obtained, it can be concluded that labeling using Flair provides the greatest accuracy of the others because the Flair labeling process uses deep learning and contextual embedding techniques.
Copyrights © 2025