In recent years, subjective texts have shown great application value. As a hot research issues in the field of natural language processing, analysis of emotions in text, has attracted attentions from many scholars and also greatly develops research on the emotional polarity of Chinese texts. This paper presents an emotional classification algorithm combining dictionary and ensemble classifier. Firstly, based on the fusion of multiple dictionaries such as emotional dictionary, degree dictionary, and negative dictionary, output the negative and positive scores of each sentence according to the designed emotion calculation algorithm. Defining the difference value between negative and positive scores as the emotional tendency value, the samples are sorted by the amount of emotional tendency value and samples with the highest emotional tendency value are selected as the training samples. Finally, the ensemble classifier is used to classify the text emotions. Based on six machine learning algorithms including polynomial Bayes, decision tree, random forest, k-nearest neighbor, SVM, and logistic regression, the ensemble classifier aims to achieve the best classification effect and minimize the disadvantages of individual classifiers. The results show that the classification accuracy of the ensemble classifier is better than that of individual classifiers.
Access to the requested content is limited to institutions that have purchased or subscribe to SPIE eBooks.
You are receiving this notice because your organization may not have SPIE eBooks access.*
*Shibboleth/Open Athens users─please
sign in
to access your institution's subscriptions.
To obtain this item, you may purchase the complete book in print or electronic format on
SPIE.org.
INSTITUTIONAL Select your institution to access the SPIE Digital Library.
PERSONAL Sign in with your SPIE account to access your personal subscriptions or to use specific features such as save to my library, sign up for alerts, save searches, etc.