A Hybrid Feature Fusion Framework Combining TF-IDF, N-Gram, and Lexicon Features for Tesla Review Sentiment Classification Using SVM
DOI:
https://doi.org/10.52436/1.jutif.2026.7.5.5850Keywords:
Hybrid Feature Engineering, Sentiment Analysis, Support Vector Machine, Social Media, Tesla ReviewsAbstract
The Existing sentiment classification approaches that rely on single-feature representations often fail to capture the complexity of social media text, leading to suboptimal classification performance. This limitation is particularly evident in product-specific opinion mining, such as Tesla-related discussions on X (formerly Twitter), where textual expressions are highly diverse and context-dependent. Therefore, this study aims to develop a hybrid feature engineering approach that integrates multiple feature representations to improve sentiment classification performance. A dataset of 12,184 tweets was collected and automatically labeled into positive, neutral, and negative classes using a lexicon-based annotation method. The data were preprocessed through case folding, cleaning, tokenization, stopword removal, and stemming. Three types of features were extracted, including TF-IDF for statistical representation, N-gram for contextual information, and lexicon-based sentiment scores for semantic polarity. These features were combined into a unified hybrid feature vector and classified using a Support Vector Machine (SVM) model. The experimental results demonstrate that the proposed hybrid approach outperforms individual feature models. The hybrid model achieved an accuracy of 88.96% and an F1-score of 88.02%, with improvements of 6.82%, 5.69%, and 10.33% compared to TF-IDF, N-gram, and lexicon-only approaches, respectively. Additionally, the RBF kernel consistently outperformed the linear kernel, indicating the presence of non-linear patterns in sentiment data. These findings highlight the effectiveness of combining statistical, contextual, and semantic features in enhancing sentiment classification performance. This study contributes a practical and scalable hybrid feature framework for product-level sentiment analysis, which can be extended to other domains such as electric vehicles and consumer technology.
Downloads
References
W. M. Lim and T. Rasul, “Customer engagement and social media: Revisiting the past to inform the future,” J. Bus. Res., vol. 148, pp. 325–342, 2022, doi: https://doi.org/10.1016/j.jbusres.2022.04.068.
M. Islam and S. A. Sheikh, “Are Social Media Based Marketing Strategies the New Mechanisms for Attracting Consumers? A Quantitative Method-Based Approach,” Journal of Theoretical and Applied Electronic Commerce Research, vol. 19, no. 4, pp. 3571–3583, 2024, doi: 10.3390/jtaer19040173.
C. (Charo) Liu, S. G. Boothman, and J. D. Graham, “The Rise and Recent Decline of Tesla’s Share of the U.S. Electric Vehicle Market,” World Electric Vehicle Journal, vol. 16, no. 2, 2025, doi: 10.3390/wevj16020090.
M. A. Majid, C. R. K. J, and A. Ahmed, “Advances in electric vehicles for a self-reliant energy ecosystem and powering a sustainable future in India,” e-Prime - Advances in Electrical Engineering, Electronics and Energy, vol. 10, p. 100753, 2024, doi: https://doi.org/10.1016/j.prime.2024.100753.
M. Ranjan, S. Tiwari, A. M. Sattar, and N. S. Tatkar, “A New Approach for Carrying Out Sentiment Analysis of Social Media Comments Using Natural Language Processing,” Engineering Proceedings, vol. 59, no. 1, 2023, doi: 10.3390/engproc2023059181.
M. Ghiassi, S. Lee, and S. R. Gaikwad, “Sentiment analysis and spam filtering using the YAC2 clustering algorithm with transferability,” Comput. Ind. Eng., vol. 165, p. 107959, 2022, doi: https://doi.org/10.1016/j.cie.2022.107959.
P. S. Ghatora, S. E. Hosseini, S. Pervez, M. J. Iqbal, and N. Shaukat, “Sentiment Analysis of Product Reviews Using Machine Learning and Pre-Trained LLM,” Big Data and Cognitive Computing, vol. 8, no. 12, 2024, doi: 10.3390/bdcc8120199.
G. N. Rodrigues et al., “NLP-driven customer segmentation: A comprehensive review of methods and applications in personalized marketing,” Data Science and Management, 2025, doi: https://doi.org/10.1016/j.dsm.2025.09.002.
H. Allam, L. Makubvure, B. Gyamfi, K. N. Graham, and K. Akinwolere, “Text Classification: How Machine Learning Is Revolutionizing Text Categorization,” Information, vol. 16, no. 2, 2025, doi: 10.3390/info16020130.
H. Harikrishnan and V. Varadarajan, “Sentiment Analysis on Movie Reviews Dataset Using Support Vector Machines and Ensemble Learning,” International Journal of Information Technology and Web Engineering, vol. 17, no. 1, 2022, doi: https://doi.org/10.4018/IJITWE.311428.
L. Ayash, A. Algarni, and O. Alqahtani, “Advancements in feature selection and extraction methods for text mining: a review,” Discover Applied Sciences, vol. 7, no. 8, p. 914, 2025, doi: 10.1007/s42452-025-07587-w.
Supriyono, A. P. Wibawa, Suyono, and F. Kurniawan, “Advancements in natural language processing: Implications, challenges, and future directions,” Telematics and Informatics Reports, vol. 16, p. 100173, 2024, doi: https://doi.org/10.1016/j.teler.2024.100173.
W. Hong et al., “A Data-Driven Multi-Granularity Attention Framework for Sentiment Recognition in News and User Reviews,” Applied Sciences, vol. 15, no. 21, 2025, doi: 10.3390/app152111424.
H. Gong and S. Zhang, “An aspect sentiment analysis model with Aspect Gated Convolution and Dual-Feature Filtering layers,” J. Big Data, vol. 11, no. 1, p. 111, 2024, doi: 10.1186/s40537-024-00969-8.
Y. Li, “Short Text Semantic Sentiment Analysis Based on Dual Channel Aspect Attention in Intelligent Systems,” Int. J. Semant. Web Inf. Syst., vol. 20, no. 1, 2024, doi: https://doi.org/10.4018/IJSWIS.336480.
J. Khan, N. Ahmad, Y. Lee, S. Khalid, and D. Hussain, “Hybrid Deep Neural Network with Domain Knowledge for Text Sentiment Analysis,” Mathematics, vol. 13, no. 9, 2025, doi: 10.3390/math13091456.
H. Handoko, A. Asrofiq, J. Junadhi, and A. S. Negara, “Sentiment Analysis of Sirekap Tweets Using CNN Algorithm,” INTENSIF: Jurnal Ilmiah Penelitian dan Penerapan Teknologi Sistem Informasi, vol. 8, no. 2, pp. 312–329, Aug. 2024, doi: 10.29407/intensif.v8i2.23046.
Junadhi, Agustin, M. Rifqi, and M. K. Anam, “Sentiment Analysis of Online Lectures using K-Nearest Neighbors based on Feature Selection,” Jurnal Nasional Pendidikan Teknik Informatika (JANAPATI), vol. 11, no. 3, pp. 216–225, Dec. 2022, doi: 10.23887/janapati.v11i3.51531.
K. Skoularikis, I. Savvas, G. Garani, and G. Kakarontzas, “Hybrid sentiment analysis approach with domain-specific lexicons with active learning on Greek social media texts,” Soc. Netw. Anal. Min., vol. 16, no. 1, p. 35, 2026, doi: 10.1007/s13278-025-01560-6.
H. Jakha, S. El Houssaini, M.-A. El Houssaini, S. Ajjaj, and A. Hadir, “Optimizing Sentiment Analysis in Multilingual Balanced Datasets: A New Comparative Approach to Enhancing Feature Extraction Performance with ML and DL Classifiers,” Applied System Innovation, vol. 8, no. 4, 2025, doi: 10.3390/asi8040104.
Z. Aslam et al., “Advancing fake news combating using machine learning: a hybrid model approach,” Knowl. Inf. Syst., vol. 67, no. 12, pp. 12137–12177, 2025, doi: 10.1007/s10115-025-02588-y.
Z. Aslam et al., “Advancing fake news combating using machine learning: a hybrid model approach,” Knowl. Inf. Syst., vol. 67, no. 12, pp. 12137–12177, 2025, doi: 10.1007/s10115-025-02588-y.
A. Hidri, S. A. Alsaif, M. Alahmari, E. AlShehri, and M. Sassi Hidri, “Opinion Mining and Analysis Using Hybrid Deep Neural Networks,” Technologies (Basel)., vol. 13, no. 5, 2025, doi: 10.3390/technologies13050175.
J. R. Jim, M. A. R. Talukder, P. Malakar, M. M. Kabir, K. Nur, and M. F. Mridha, “Recent advancements and challenges of NLP-based sentiment analysis: A state-of-the-art review,” Natural Language Processing Journal, vol. 6, p. 100059, 2024, doi: https://doi.org/10.1016/j.nlp.2024.100059.
B. Menaouer, A. F. Zahra, and S. Mohammed, “Multi-Class Sentiment Classification for Healthcare Tweets Using Supervised Learning Techniques,” International Journal of Service Science, Management, Engineering, and Technology, vol. 13, no. 1, 2022, doi: https://doi.org/10.4018/IJSSMET.298669.
M. Siino, I. Tinnirello, and M. La Cascia, “Is text preprocessing still worth the time? A comparative survey on the influence of popular preprocessing methods on Transformers and traditional classifiers,” Inf. Syst., vol. 121, p. 102342, 2024, doi: https://doi.org/10.1016/j.is.2023.102342.
H. Asnal, K. Andesa, F. Erlin, and Junadhi, “Hybrid Machine Learning Model for Risk Prediction and Action Recommendation Based on Artificial Mental Systems,” Teknika, vol. 14, no. 3, pp. 415–423, 2025, doi: 10.34148/teknika.v14i3.1357.
S. U. Ahsaan, H. Kaur, A. K. Mourya, and S. Naaz, “A Hybrid Support Vector Machine Algorithm for Big Data Heterogeneity Using Machine Learning,” Symmetry (Basel)., vol. 14, no. 11, 2022, doi: 10.3390/sym14112344.
H. Handoko, A. Asrofiq, J. Junadhi, and A. S. Negara, “Sentiment Analysis of Sirekap Tweets Using CNN Algorithm,” INTENSIF: Jurnal Ilmiah Penelitian dan Penerapan Teknologi Sistem Informasi, vol. 8, no. 2, pp. 312–329, Aug. 2024, doi: 10.29407/intensif.v8i2.23046.
B. Saidov et al., “A Hybrid NER–Sentiment Model for Uzbek Texts: Integrating Lexical, Deep Learning, and Entity-Based Approaches,” Big Data and Cognitive Computing, vol. 10, no. 3, 2026, doi: 10.3390/bdcc10030092.
M. K. Nazir, M. Bilal, and S. C. Shongwe, “Sentiment analysis for code-mixed low-resource languages: a systematic review of approaches, techniques, applications, challenges, and future directions,” Soc. Netw. Anal. Min., vol. 16, no. 1, p. 47, 2026, doi: 10.1007/s13278-026-01588-2.
E. Hashmi, S. Shaikh, S. Y. Yayilgan, M. Abomhara, R. Akerkar, and M. Afzal, “Multi-domain text classification via linguistic and semantic feature integration,” Soc. Netw. Anal. Min., vol. 15, no. 1, p. 113, 2025, doi: 10.1007/s13278-025-01551-7.
Z. Qiu, G. Huang, X. Qin, Y. Wang, J. Wang, and Y. Zhou, “A Hybrid Semantic Representation Method Based on Fusion Conceptual Knowledge and Weighted Word Embeddings for English Texts,” Information, vol. 15, no. 11, 2024, doi: 10.3390/info15110708.
M. A. Salem and Z. A. Khalil, “An Interpretable Hybrid RF–ANN Early-Warning Model for Real-World Prediction of Academic Confidence and Problem-Solving Skills,” Mathematical and Computational Applications, vol. 30, no. 6, 2025, doi: 10.3390/mca30060140.
Additional Files
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Anggia Dasa Putri, Rahmat Fauzi, Sarjon Defit

This work is licensed under a Creative Commons Attribution 4.0 International License.

</a



