Hostname: page-component-74656f9884-2dmjx Total loading time: 0 Render date: 2026-11-07T13:00:41.643Z Has data issue: false hasContentIssue false

A hierarchical approach to mood classification in blogs

Published online by Cambridge University Press:  11 March 2011

FAZEL KESHTKAR
Affiliation:
School of Information Technology and Engineering, University of Ottawa, Ottawa, Ontario, Canada e-mail: akeshta@site.uOttawa.ca, diana@site.uOttawa.ca
DIANA INKPEN
Affiliation:
School of Information Technology and Engineering, University of Ottawa, Ottawa, Ontario, Canada e-mail: akeshta@site.uOttawa.ca, diana@site.uOttawa.ca
Rights & Permissions [Opens in a new window]

Abstract

In this article, we explore the task of mood classification for blog postings. We propose a novel approach that uses the hierarchy of possible moods to achieve better results than a standard machine learning approach. We also show that using sentiment orientation features improves the performance of classification. We used the Livejournal blog corpus as a data set to train and evaluate our method. We present extensive error analysis and discuss the difficulty of the task.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2011
Figure 0

Table 1. Statistics about words and posts in the data set

Figure 1

Table 2. The most frequent moods in corpus

Figure 2

Fig. 1. The hierarchy of the 132 moods: ·, Level 1; ^, Level 2; ⋆, Level 3; *, Level 4; and ⋅, Level 5. The numbers in the brackets indicate the best F-measure that we obtained for each node, as discussed later in Section 5.3.

Figure 3

Table 3. Semtiment orientation values of words based on Kim and Hovy's list and on Turney and Littman's list

Figure 4

Fig. 2. Frequency of the top moods in the experimental data set.

Figure 5

Table 4. Accuracy for the hierarchical classification in Level 1 for both BoW and BoW+SO features

Figure 6

Table 5. Accuracy for classification in Level 2 for both BoW and BoW+SO features

Figure 7

Table 6. Accuracy for classification in Level 3 for both BoW and BoW+SO features

Figure 8

Table 7. Accuracy for the hierarchical classification in Level 4 for both BoW and BoW+SO features

Figure 9

Table 8. Overall average results in each level

Figure 10

Table 9. The accuracy of the hierarchical classification when the classifiers from all the levels are applied successively (the errors from all the levels are multiplied), compared with the results of the flat classification, for both BoW and BoW+SO features

Figure 11

Table 10. Detailed results by class for Level 1

Figure 12

Fig. 3. Confusion matrix for correctly classified instances and incorrectly classified instances in Level l.

Figure 13

Fig. 4. The correctness results by two judges A and B.