Machine learning-based authorship attribution using token n-grams and other time tested features

Author:

Gupta Sumit1,Das Swarupa2,Mallik Jyotish Ranjan2

Affiliation:

1. Department of Computer Science and Engineering, Jadavpur University, Kolkata, West Bengal, India

2. Department of Computer Science and Engineering, University Institute of Technology, The University of Burdwan, Golapbag, Burdwan, West Bengal, India

Abstract

Authorship Attribution is a process to determine and/or identify the author of a given text document. The relevance of this research area comes to the fore when two or more writers claim to be the prospective authors of an unidentified or anonymous text document or are unwilling to accept any authorship. This research work aims to utilize various Machine Learning techniques in order to solve the problem of author identification. In the proposed approach, a number of textual features such as Token n-grams, Stylometric features, bag-of-words and TF-IDF have been extracted. Experimentation has been performed on three datasets viz. Spooky Author Identification dataset, Reuter_50_50 dataset and Manual dataset with 3 different train-test split ratios viz. 80-20, 70-30 and 66.67-33.33. Models have been built and tested with supervised learning algorithms such as Naive Bayes, Support Vector Machine, K-Nearest Neighbor, Decision Tree and Random Forest. The proposed system yields promising results. For the Spooky dataset, the best accuracy score obtained is 84.14% with bag-of-words using Naïve Bayes classifier. The best accuracy score of 86.2% is computed for the Reuter_50_50 dataset with 2100 most frequent words when the classifier used is Support Vector Machine. For the Manual dataset, the best score of 96.67% is obtained using the Naïve Bayes Classification Model with both 5-fold and 10-fold cross validation when both syntactic features and 600 most frequent unigrams are used in combination.

Publisher

IOS Press

Subject

General Medicine

Reference25 articles.

1. A framework for authorship identification of online messages: Writing-style features and classification techniques;Zheng;Journal of the American society for Information Science and Technology,2006

2. Author identification based on NLP;Alhuqail;European Journal of Computer Science and Information Technology,2021

3. Stylistic text classification using functional lexical features;Argamon;Journal of The American Society for Information Science and Technology,2007

4. Evaluating text visualization for authorship analysis;Benjamin;Security Informatics,2014

5. M. Koppel and J. Schler, Exploiting stylistic idiosyncrasies for authorship attribution, in: Proceedings of IJCAI’03 Workshop on Computational Approaches to Style Analysis and Synthesis, Vol. 69, 2003, pp. 72–80.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3