Abstract
This article presents an empirical evaluation of text classification methods in literary domain. This study compared the performance of two popular algorithms, naíve Bayes and support vector machines (SVMs) in two literary text classification tasks: the eroticism classification of Dickinson's poems and the sentimentalism classification of chapters in early American novels. The algorithms were also combined with three text pre-processing tools, namely stemming, stopword removal, and statistical feature selection, to study the impact of these tools on the classifiers' performance in the literary setting. Existing studies outside the literary domain indicated that SVMs are generally better than naíve Bayes classifiers. However, in this study SVMs were not all winners. Both algorithms achieved high accuracy in sentimental chapter classification, but the naíve Bayes classifier outperformed the SVM classifier in erotic poem classification. Self-feature selection helped both algorithms improve their performance in both tasks. However, the two algorithms selected relevant features in different frequency ranges, and therefore captured different characteristics of the target classes. The evaluation results in this study also suggest that arbitrary feature-reduction steps such as stemming and stopword removal should be taken very carefully. Some stopwords were highly discriminative features for Dickinson's erotic poem classification. In sentimental chapter classification, stemming undermined subsequent feature selection by aggressively conflating and neutralizing discriminative features.
Original language | English (US) |
---|---|
Pages (from-to) | 327-343 |
Number of pages | 17 |
Journal | Literary and Linguistic Computing |
Volume | 23 |
Issue number | 3 |
DOIs | |
State | Published - 2008 |
Externally published | Yes |
ASJC Scopus subject areas
- Information Systems
- Language and Linguistics
- Linguistics and Language