PreprintCited by 8Authorship Attribution and ProfilingUser Authentication and Security SystemsNatural Language Processing Techniques

An Investigation of Supervised Learning Methods for Authorship Attribution in Short Hinglish Texts using Char & Word N-grams

Open access
Sharma, Abhay, Nandan, Ananya, Ralhan, Reetika·2018·arXiv

Abstract

The writing style of a person can be affirmed as a unique identity indicator; the words used, and the structuring of the sentences are clear measures which can identify the author of a specific work. Stylometry and its subset - Authorship Attribution, have a long history beginning from the 19th century, and we can still find their use in modern times. The emergence of the Internet has shifted the application of attribution studies towards non-standard texts that are comparatively shorter to and different from the long texts on which most research has been done. The aim of this paper focuses on the study of short online texts, retrieved from messaging application called WhatsApp and studying the distinctive features of a macaronic language (Hinglish), using supervised learning methods and then comparing the models. Various features such as word n-gram and character n-gram are compared via methods viz., Naive Bayes Classifier, Support Vector Machine, Conditional Tree, and Random Forest, to find the best discriminator for such corpora. Our results showed that SVM attained a test accuracy of up to 95.079% while similarly, Naive Bayes attained an accuracy of up to 94.455% for the dataset. Conditional Tree & Random Forest failed to perform as well as expected. We also found that word unigram and character 3-grams features were more likely to distinguish authors accurately than other features.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

DataCite · 10.48550/arxiv.1812.10281

Cites

0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

The publisher hasn’t deposited this paper’s reference list.

Research works printed but not linked: 11

  1. [1][1] Emmanuel Ahishakiye, Danison Taremwa, Ivan Niyonzima, and Elisha Opiyo Omulo. 2017. Crime Prediction Using Decision Tree (J48) Classification Algorithm. International Journal of Computer and Information Technology 6, 3 (2017). https://www.ijcit.com/archives/volume6/issue3/Paper060308.pdf -
  2. [4][4] R. Burbridge, S. Holden, B. Buxton, and M. Trotter. 2001. Drug Design by Machine Learning: Support Vector Machines for Pharmaceutical Data Analysis. Computers and Chemistry 26, 1 (2001), 5-14. https://doi.org/10.1016/S00978485(01)00094-8 - · DOI
  3. [5][5] R. M. Coyotl-Morales, P. Rosso, M. Montes y Gomez, and L. Villasenor-Pineda. 2006. Authorship Attributing using Word Sequences,. In CIARP . Springer, 844-853. https://doi.org/10.1007/11892755\_87 - · DOI
  4. [7][7] M. Gamon. 2004. Linguistic Correlates of Style : Authorship Classification with Deep Linguistic Analysis Features. International Conference on Computational Linguistics, 611-617. -
  5. [11][11] P. Juola. 2006. Authorship attribution. Foundations and Trends in Information Retrieval 1, 3 (2006), 233-334. -
  6. [12][12] P. Juola. 2006. Authorship Attribution for Electronic Documents. In Digital Forensics 2006: Advances in Digital Forensics II , Vol. 222. Internatonal Federation for Information Processing, 119-130. https://doi.org/10.1007/0-38736891-4\_10 - · DOI
  7. [13][13] P. Juola. 2007. Future Trends in Authorship Attribution. The International Federation for Information Processing, Springer 242 (2007), 119-132. https://doi.org/10.1007/978-0-387-73742-3\_8 - · DOI
  8. [14][14] B. Kjell. 1994. Discrimination of Authorship using Visualization. Information Processing & Management 30, 1 (1994), 141-150. https://doi.org/10.1016/0306-4573(94)90029-9 - · DOI
  9. [17][17] T. Matsuura and Y. Kanada. 2000. Extraction of Authors' Characteristics from Japanese Modern Sentences via N-gram Distribution,. In Discovery Science . Springer, 315-319. https://doi.org/10.1007/3-540-44418-1\_38 - · DOI
  10. [18][18] F. Mosteller and D. Wallace. 1964. Inference and Disputed Authorship: The Federalist Reading. Review of the International Statistical Institute 34, 2 (1964), 287. -
  11. [21][21] C. Sanderson and S. Guenter. 2006. Short Text Authorship Attribution via Sequence Kernels, Markov Chains and Author Unmasking : An Investigation,. In Conference on Empirical Methods in Natural Language Processing . 482-491.

Cited by

Sorted by citations

Authors
Sharma, A., Nandan, A., & Ralhan, R.
Venue
arXiv
Publisher
arXiv
Published
2018
ISSN
2331-8422 (ISSN-L)
OpenAlex
W4394649008
Cited by
7
References
0
Citations by year
2024: 1 · 2023: 1 · 2021: 3 · 2020: 1 · 2019: 1
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Authorship Attribution and Profiling
  • Physical Sciences › Computer Science › Information Systems › User Authentication and Security Systems
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
Keywords
authorship attribution, stylometry, Hinglish, short text, n-gram features, character n-grams, word n-grams, WhatsApp messages, online texts, classifier comparison, naive Bayes, support vector machine, random forest

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review