Learning the Style via Mixed SN-Grams: An Evaluation in Authorship Attribution
This study addresses the problem of authorship attribution with a novel method for modeling writing style using dependency tree subtree parsing. This method exploits the syntactic information of sentences using mixed syntactic n-grams (mixed sn-grams). The method comprises an algorithm to generate mixed sn-grams by integrating words, POS tags, and dependency relation tags. The mixed sn-grams are used as style markers to feed Machine Learning methods such as a SVM. A comparative analysis was performed to evaluate the performance of the proposed mixed sn-grams method against homogeneous sn-grams with the PAN-CLEF 2012 and CCAT50 datasets. Experiments with PAN 2012 showed the potential of mixed sn-grams to model a writing style by outperforming homogeneous sn-grams. On the other hand, experiments with CCAT50 showed that training with mixed sn-grams improves accuracy over homogeneous sn-grams, with the POS-Word category showing the best result. The study’s results suggest that mixed sn-grams constitute effective stylistic markers for building a reliable writing style model, which machine learning algorithms can learn.
Authors
- Juan Pablo Francisco Posadas-Durán (ORCID: https://orcid.org/0000-0001-9496-1328)
- Germán Ríos-Toledo (ORCID: https://orcid.org/0000-0003-0951-5644)
- Erick Velázquez-Lozada (ORCID: https://orcid.org/0000-0001-8242-6731)
- Madaín Pérez‐Patricio (ORCID: https://orcid.org/0000-0003-3414-3379)
- J. A. de Jesús Osuna-Coutiño (ORCID: https://orcid.org/0000-0003-0237-7197)
- Fernando Pech May (ORCID: https://orcid.org/0000-0002-8493-4534)
Institutions
- Tuxtla Gutierrez Institute of Technology (MX)
- Tecnológico Nacional de México (MX)
- Instituto Politécnico Nacional (MX)
Publication Details
- Journal
- AI
- Published
- 2025-05-20
- DOI
- https://doi.org/10.3390/ai6050104
- Primary Topic
- Authorship Attribution and Profiling
- Type
- article
- Field-Weighted Citation Impact
- 0.00