Emotion Detection with Pre-Trained Language Models BERT and ELECTRA Analysis of Turkish Data
Keywords
BERT, ELECTRA, Language Models, Transformer, Turkish Sentiment AnalysisAbstract
Developments in artificial intelligence have led to positive developments in many fields. Sentiment analysis, one of these areas, has become more applicable with the models and architectures developed. In this study, emotion detection and emotion analysis were performed on the transcribed data of Turkish voice recordings. In the emotion detection phase, after the emotional states (positive, negative, neutral) of the data were detected with BERT and ELECTRA models, which are transformer-based structures, machine learning algorithms were used in the accuracy analysis of these emotional states and the Google Colaboratory platform was used in the application phase. Naive Bayes, Random Forest, Support Vector Machine and Logistic Regression algorithms were used in the accuracy analysis. As a result of the study, both Naive Bayes and Logistic Regression algorithms achieved the best accuracy rate in emotion detection with the BERT model with a rate of 70%. In emotion detection with the ELECTRA model, both Random Forest and Logistic Regression algorithms achieved the best accuracy rate of 72%. BERT and ELECTRA methods are used to provide a better understanding of understanding and classification of emotional content in Turkish texts and contribute to the development of sentiment analysis-based applications. In addition, two Turkish emotion data sets were obtained, and by using more than one method in emotion analysis, our study has been a unique study in the field, allowing the analysis of the study to be done more effectively.
Downloads
References
Published: 2024-03-27
Issue: Vol. 3 No. 1 (2024) (view)
Section: Research Articles
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All papers should be submitted electronically. All submitted manuscripts must be original work that is not under submission at another journal or under consideration for publication in another form, such as a monograph or chapter of a book. Authors of submitted papers are obligated not to submit their paper for publication elsewhere until an editorial decision is rendered on their submission. Further, authors of accepted papers are prohibited from publishing the results in other publications that appear before the paper is published in the Journal unless they receive approval for doing so from the Editor-In-Chief.
IMIENS open access articles are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. This license lets the audience to give appropriate credit, provide a link to the license, and indicate if changes were made and if they remix, transform, or build upon the material, they must distribute contributions under the same license as the original.