article
Automatic literary genre recognition is pivotal in various domains, including digital libraries, literary studies, and computational linguistics. Efficiently categorizing texts into genres, such as poetry or prose, facilitates the organization and retrieval of literary works, enhancing accessibility for readers, researchers, and academics. Recognizing genre-specific patterns, themes, and stylistic elements enables in-depth analysis and comprehension of literary texts. This study focuses on fine-tuning several state-of-the-art multilingual pre-trained language models, including mBERT, DistilmBERT, and XLM-RoBERTa, to distinguish between Afrikaans poetry and prose. A baseline Support Vector Machine (SVM) classifier and a self-attention transformer model were also trained for comparison.Results demonstrated that the SVM model with text-embeddings-ada-002 embeddings achieved the highest test F1-score of 0.936. The XLM-RoBERTa model exhibited the best performance during validation with an F1-score of 0.924, while the DistilmBERT model surpassed all others, including the SVM during testing, achieving the highest F1-score of 0.942. Notably, the self-attention model demonstrated comparable F1-scores for training (0.923) and testing (0.929), establishing itself as the second-best performing genre classifier.This study contributes to advancing automatic literary genre recognition in Afrikaans by exploring the capabilities of state-of-the-art multilingual language models and traditional classifiers, providing insights into their comparative performance and potential applications in real-world scenarios.
This page summarises published work. The authoritative version sits with the publisher.
DOI: 10.1109/acdsa59508.2024.10467838
Is something wrong with this record? Report it or request removal.
Discussion
Have you built on this work, tried to replicate it, or seen it applied in practice? Share what you know. Verified researchers and MARATTO™ domain experts can open a discussion, and any member can reply. Contributions are reviewed before they appear.
No discussion yet. Open the first thread.
New to MARATTO™? Create a free account.