Poetry Classification Using Support Vector Machines
Noraini Jamal, Masnizah Mohd and Shahrul Azman Noah
DOI : 10.3844/jcssp.2012.1441.1446
Journal of Computer Science
Volume 8, Issue 9
Problem statement: Traditional Malay poetry called pantun is a form of art to express ideas, emotions and feelings in the form of rhyming lines. Malay poetry usually has a broad and deep meaning making it difficult to be interpreted. Moreover, few efforts have been done on automatic classification of literary text such as poetry. Approach: This research concerns with the classification of Malay pantun using Support Vector Machines (SVM). The capability of SVM through Radial Basic Function (RBF) and linear kernel function are implemented to classify pantun by theme, as well as poetry or non-poetry. A total of 1500 pantun are divided into 10 themes with 214 Malaysian folklore documents used as the training and testing datasets. We used tfidf for both classification experiments and the shape feature for the classification of poetry and non-poetry experiment alone. Results: The results of each experiment showed that the linear kernel achieved a better percentage of average accuracy compared to the RBF kernel. Conclusion: The results show the potential of SVM technique in classifying poems into various classification of which previous approaches only focused on classifying prose only.
© 2012 Noraini Jamal, Masnizah Mohd and Shahrul Azman Noah. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.