Abstract

The online course teaching platform provides a more accessible and open teaching environment for teachers and students. The sentiment tendency reflected in the online course comments becomes an essential basis for teachers to adjust the course and students to choose the course. This paper combined two deep learning algorithms, i.e., a convolutional neural network (CNN) algorithm and a long short-term memory (LSTM) algorithm, to identify and analyze the emotional tendency of comments on online ideological and political courses. Moreover, the CNN+LSTM-based sentiment analysis algorithm was simulated in MATLAB software. The influence of the text vectorization method on the recognition performance of the CNN+LSTM algorithm was tested; then, it was compared with support vector machine (SVM) and LSTM algorithms, and the comments on online ideological and political courses were analyzed. The results showed that the recognition performance of the CNN+LSTM-based sentiment analysis algorithm adopting the Word2vec text vectorization method was better than that adopting the one-hot text vectorization method; the recognition performance of the CNN+LSTM algorithm was the best, the LSTM algorithm was the second, and the SVM algorithm was the worst in terms of the performance of recognizing the sentiment of comment texts; 86.36% of the selected comments on ideological and political courses contained positive sentiment, and 13.64% contained negative sentiment. Relevant suggestions were given based on the negative comments.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.