Sentiment Analysis of Comment Texts on Online Courses Based on Hierarchical Attention Mechanism
Open Access
- 26 March 2023
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 13 (7) , 4204
Abstract
With information technology pushing the development of intelligent teaching environments, the online teaching platform emerges timely around the globe, and how to accurately evaluate the effect of the “any-time and anywhere” teacher–student interaction and learning has become one of the hotspots of today’s education research. Bullet chatting in online courses is one of the most important ways of interaction between teachers and students. The feedback from the students can help teachers improve their teaching methods, adjust teaching content, and schedule in time so as to improve the quality of their teaching. How to automatically identify the sentiment polarity in the comment text through deep machine learning has also become a key issue to be automatically processed in online course teaching. The traditional single-layer attention mechanism only enhances certain sentimentally intense words, so we proposed a sentiment analysis method based on a hierarchical attention mechanism that we called HAN. Firstly, we use CNN and LSTM to extract local and global information, gate mechanisms are used for extracting sentiment words, and the hierarchical attention mechanism is then used to weigh the different sentiment features, with the original information added to the attention mechanism concentration to prevent the loss of information. Experiments are conducted on China Universities MOOC and Tencent Classroom comment data sets; both accuracy and F1 are improved compared to the baseline, and the validity of the model is verified.Keywords
Funding Information
- 2021 Higher Education Fund of the Macao SAR Government (HSS-CITYU-2021-07)
This publication has 19 references indexed in Scilit:
- Graph Convolutional Networks for Text ClassificationProceedings of the AAAI Conference on Artificial Intelligence, 2019
- Sentiment Analysis of Comment Texts Based on BiLSTMIEEE Access, 2019
- Text Classification Based on Hybrid CNN-LSTM Hybrid Model2018
- Sentiment Analysis in Education Domain: A Systematic Literature Review2018
- LSTM-CNN Hybrid Model for Text Classification2018
- Semantic Analysis of Learners’ Emotional Tendencies on Online MOOC EducationSustainability, 2018
- Hierarchical Attention Networks for Document Classification2016
- Predicting Polarities of Tweets by Composing Word Embeddings with Long Short-Term Memory2015
- Convolutional Neural Networks for Sentence Classification2014
- Thumbs up?2002