<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN" "http://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd">
<article article-type="research-article" dtd-version="1.2" xml:lang="ru" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><front><journal-meta><journal-id journal-id-type="issn">2313-8912</journal-id><journal-title-group><journal-title>Research Result. Theoretical and Applied Linguistics</journal-title></journal-title-group><issn pub-type="epub">2313-8912</issn></journal-meta><article-meta><article-id pub-id-type="doi">10.18413/2313-8912-2026-12-3-0-3</article-id><article-id pub-id-type="publisher-id">4313</article-id><article-categories><subj-group subj-group-type="heading"><subject>APPLIED LINGUISTICS</subject></subj-group></article-categories><title-group><article-title>&lt;strong&gt;Spearman&amp;#39;s rank distance as a tool for stylometric attribution: a comparative analysis on heterogeneous corpora&lt;/strong&gt;</article-title><trans-title-group xml:lang="en"><trans-title>&lt;strong&gt;Spearman&amp;#39;s rank distance as a tool for stylometric attribution: a comparative analysis on heterogeneous corpora&lt;/strong&gt;</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author"><name-alternatives><name xml:lang="ru"><surname>Bochkarev</surname><given-names>Vladimir V.</given-names></name><name xml:lang="en"><surname>Bochkarev</surname><given-names>Vladimir V.</given-names></name></name-alternatives><email>vbochkarev@mail.ru</email><xref ref-type="aff" rid="aff1" /></contrib><contrib contrib-type="author"><name-alternatives><name xml:lang="ru"><surname>Afanasev</surname><given-names>Anton S.</given-names></name><name xml:lang="en"><surname>Afanasev</surname><given-names>Anton S.</given-names></name></name-alternatives><email>a.s.afanasyev@mail.ru</email><xref ref-type="aff" rid="aff1" /></contrib><contrib contrib-type="author"><name-alternatives><name xml:lang="ru"><surname>Bakirov</surname><given-names>Rinat A.</given-names></name><name xml:lang="en"><surname>Bakirov</surname><given-names>Rinat A.</given-names></name></name-alternatives><email>r1nt@ya.ru</email><xref ref-type="aff" rid="aff2" /></contrib></contrib-group><aff id="aff2"><institution>Kazan (Volga Region) Federal University, Kazan, Russia</institution></aff><aff id="aff1"><institution>Kazan (Volga Region) Federal University, Kazan, Russia.</institution></aff><pub-date pub-type="epub"><year>2026</year></pub-date><volume>12</volume><issue>3</issue><fpage>0</fpage><lpage>0</lpage><self-uri content-type="pdf" xlink:href="/media/linguistics/2026/3/Лингвистика_123-53-80.pdf" /><abstract xml:lang="ru"><p>This paper presents an empirical comparison of a metric based on Spearman&amp;#39;s rank correlation coefficient with traditional and relatively new distance measures (Burrows&amp;#39;s Delta, Cosine Delta, Labb&amp;eacute; distance, Soergel distance, and Jensen-Shannon divergence, the latter receiving particular attention) used in stylometric text attribution. The relevance of the study lies in the need to search for and identify a stylometric tool (a distance measure and its &amp;ldquo;settings&amp;rdquo;) that is robust to within-author variability and feature space sparsity. The research problem stems from methodological uncertainty in choosing an optimal distance measure for stylometric attribution. Despite the development of distance-based approaches, the effectiveness of metrics critically depends on corpus structure, the length of the analyzed fragments, and feature space parameters. In the absence of a single reliable metric for attributing complex text corpora, this study for the first time substantiates the use of Spearman&amp;#39;s rank distance as a valid tool for stylometric analysis. The empirical basis of the study comprises four text corpora heterogeneous in terms of time, genre, and language (49 authors in total, 899 literary texts). The study included unified text preprocessing (tokenization, lowercasing, wordform-level analysis) and systematic parameter tuning for the six metrics. For each combination (author, metric, fragment length), the optimal configuration of parameters (number of frequent words; absence/presence of standardization) was determined, providing the maximum true positive rate in attribution using the k-NN method, k=1. The results show that Spearman&amp;#39;s rank distance demonstrates the greatest robustness and universality, maintaining high accuracy under genre heterogeneity, variability in text length, and the presence of stylistic anomalies. It is established that Spearman&amp;#39;s rank distance systematically outperforms frequency-based and entropy-based metrics in robustness under conditions of genre heterogeneity and can serve as a reliable tool for stylometric attribution.</p></abstract><trans-abstract xml:lang="en"><p>This paper presents an empirical comparison of a metric based on Spearman&amp;#39;s rank correlation coefficient with traditional and relatively new distance measures (Burrows&amp;#39;s Delta, Cosine Delta, Labb&amp;eacute; distance, Soergel distance, and Jensen-Shannon divergence, the latter receiving particular attention) used in stylometric text attribution. The relevance of the study lies in the need to search for and identify a stylometric tool (a distance measure and its &amp;ldquo;settings&amp;rdquo;) that is robust to within-author variability and feature space sparsity. The research problem stems from methodological uncertainty in choosing an optimal distance measure for stylometric attribution. Despite the development of distance-based approaches, the effectiveness of metrics critically depends on corpus structure, the length of the analyzed fragments, and feature space parameters. In the absence of a single reliable metric for attributing complex text corpora, this study for the first time substantiates the use of Spearman&amp;#39;s rank distance as a valid tool for stylometric analysis. The empirical basis of the study comprises four text corpora heterogeneous in terms of time, genre, and language (49 authors in total, 899 literary texts). The study included unified text preprocessing (tokenization, lowercasing, wordform-level analysis) and systematic parameter tuning for the six metrics. For each combination (author, metric, fragment length), the optimal configuration of parameters (number of frequent words; absence/presence of standardization) was determined, providing the maximum true positive rate in attribution using the k-NN method, k=1. The results show that Spearman&amp;#39;s rank distance demonstrates the greatest robustness and universality, maintaining high accuracy under genre heterogeneity, variability in text length, and the presence of stylistic anomalies. It is established that Spearman&amp;#39;s rank distance systematically outperforms frequency-based and entropy-based metrics in robustness under conditions of genre heterogeneity and can serve as a reliable tool for stylometric attribution.</p></trans-abstract><kwd-group xml:lang="ru"><kwd>Quantitative literary studies</kwd><kwd>Corpus linguistics</kwd><kwd>Stylometry</kwd><kwd>Distance measures</kwd><kwd>Spearman's rank distance</kwd><kwd>Jensen-Shannon divergence</kwd></kwd-group><kwd-group xml:lang="en"><kwd>Quantitative literary studies</kwd><kwd>Corpus linguistics</kwd><kwd>Stylometry</kwd><kwd>Distance measures</kwd><kwd>Spearman's rank distance</kwd><kwd>Jensen-Shannon divergence</kwd></kwd-group></article-meta></front><back><ack><p>The study was supported by the Russian Science Foundation grant No. 24-18-00570, https://rscf.ru/project/24-18-00570/.</p></ack><ref-list><title>Список литературы</title><ref id="B1"><mixed-citation>Alieva,&amp;nbsp;O.&amp;nbsp;V. (2024). Distance measures for determining the authorship of ancient Greek texts, Tsifrovye gumanitarnye issledovaniya [Digital Humanities Research], 1&amp;nbsp;(1), 8&amp;ndash;33. DOI: 10.31860/cgi-2024-1-8-33 (In Russian)</mixed-citation></ref><ref id="B2"><mixed-citation>Dvinyatin,&amp;nbsp;F.&amp;nbsp;N., Kovalev,&amp;nbsp;B.&amp;nbsp;V. (2024). &amp;ldquo;Sirin is not inferior to Leonov&amp;rdquo;: the Delta method for stylometric analysis of Russian novels of the interwar period, Шаги / Steps [Shagi/Steps], 10&amp;nbsp;(3), 207&amp;ndash;229. DOI: 10.22394/2412-9410-2024-10-2-207-229. (In Russian)</mixed-citation></ref><ref id="B3"><mixed-citation>Martynenko,&amp;nbsp;G.&amp;nbsp;Ya. (2014). Stylometry: emergence and development in the context of interdisciplinary interaction. Part 1. First steps: 19th century, Strukturnaya i prikladnaya lingvistika [Structural and Applied Linguistics], 10, 3&amp;ndash;23. (In Russian)</mixed-citation></ref><ref id="B4"><mixed-citation>Martynenko,&amp;nbsp;G.&amp;nbsp;Ya. (2015). Stylometry: emergence and development in the context of interdisciplinary interaction. Part 2. First half of the 20th century: expansion of interdisciplinary contacts of stylometry, Strukturnaya i prikladnaya lingvistika [Structural and Applied Linguistics], 11, 9&amp;ndash;28. (In Russian)</mixed-citation></ref><ref id="B5"><mixed-citation>Maslinskiy,&amp;nbsp;K.&amp;nbsp;A. (2022). Refined digital textology: once again on the question of the authorship of the novel &amp;ldquo;And Quiet Flows the Don&amp;rdquo;, Russkaya literatura [Russian Literature], 1, 247&amp;ndash;254. DOI: 10.31860/0131-6095-2022-1-247-254. (In Russian)</mixed-citation></ref><ref id="B6"><mixed-citation>Staroverova,&amp;nbsp;P.&amp;nbsp;V. (2025). The Strugatskys separated: Stylometric identification of individual authorial fragments in a collective text, Tsifrovye gumanitarnye issledovaniya [Digital Humanities Research], 1, 24&amp;ndash;39. DOI: 10.31860/cgi-2025-1-24-39. (In Russian)</mixed-citation></ref><ref id="B7"><mixed-citation>Velikanova,&amp;nbsp;N.&amp;nbsp;P. and Orekhov,&amp;nbsp;B.&amp;nbsp;V. (2019). Digital textology: text attribution using the example of M. A. Sholokhov&amp;rsquo;s novel &amp;ldquo;And Quiet Flows the Don&amp;rdquo;, Mir Sholokhova [Sholokhov World], 1&amp;nbsp;(11), 70&amp;ndash;82. (In Russian)</mixed-citation></ref><ref id="B8"><mixed-citation>Arefin,&amp;nbsp;A.&amp;nbsp;S., Vimieiro,&amp;nbsp;R., Riveros,&amp;nbsp;C., Craig,&amp;nbsp;H. and Moscato,&amp;nbsp;P. (2014). An information theoretic clustering approach for unveiling authorship affinities in Shakespearean era plays and poems, PLoS One, 9&amp;nbsp;(10), e111445. DOI: 10.1371/journal.pone.0111445. (In English)</mixed-citation></ref><ref id="B9"><mixed-citation>Argamon,&amp;nbsp;S. (2008). Interpreting Burrows&amp;rsquo; delta: Geometric and probabilistic foundations, Literary and Linguistic Computing, 23&amp;nbsp;(2), 131&amp;ndash;147. DOI: 10.1093/llc/fqn003. (In English)</mixed-citation></ref><ref id="B10"><mixed-citation>Bortolato,&amp;nbsp;C. (2016). Intertextual Distance of Function Words as a Tool to Detect an Author&amp;rsquo;s Gender: A Corpus-Based Study on Contemporary Italian Literature, Glottometrics, 34, 28&amp;ndash;43. (In English)</mixed-citation></ref><ref id="B11"><mixed-citation>Burrows,&amp;nbsp;J. (2002). &amp;lsquo;Delta&amp;rsquo;: a Measure of Stylistic Difference and a Guide to Likely Authorship, Literary and Linguistic Computing, 17&amp;nbsp;(3), 267&amp;ndash;287. DOI: 10.1093/llc/17.3.267. (In English)</mixed-citation></ref><ref id="B12"><mixed-citation>Endres,&amp;nbsp;D.&amp;nbsp;M. and Schindelin,&amp;nbsp;J.&amp;nbsp;E. (2003). A new metric for probability distributions, IEEE Transactions on Information Theory, 49&amp;nbsp;(7), 1858-1860. DOI: 10.1109/TIT.2003.813506. (In English)</mixed-citation></ref><ref id="B13"><mixed-citation>Evert,&amp;nbsp;S., Proisl,&amp;nbsp;T., Jannidis,&amp;nbsp;F., Reger,&amp;nbsp;I., Pielstr&amp;ouml;m,&amp;nbsp;S., Sch&amp;ouml;ch,&amp;nbsp;C. and Vitt,&amp;nbsp;T. (2017). Understanding and explaining Delta measures for authorship attribution, Digital Scholarship in the Humanities, 32, 4&amp;ndash;16. DOI: 10.1093/llc/fqx023. (In English)</mixed-citation></ref><ref id="B14"><mixed-citation>Grieve,&amp;nbsp;J. (2007). Quantitative authorship attribution: An evaluation of techniques, Literary and Linguistic Computing, 22 (3), 251&amp;ndash;270. DOI: 10.1093/llc/fqm020. (In English)</mixed-citation></ref><ref id="B15"><mixed-citation>Grzybek,&amp;nbsp;P. (2014). The Emergence of Stylometry: Prolegomena to the History of Term and Concept, available at: http://www.peter-grzybek.eu/science/publications/2014/grzybek_2014_stylometry.pdf (Accessed 05.04.2026). (In English)</mixed-citation></ref><ref id="B16"><mixed-citation>Hoover,&amp;nbsp;D. (2002). Frequent word sequences and statistical stylistics, Literary and Linguistic Computing, 17&amp;nbsp;(2), 157-180. DOI: 10.1093/llc/17.2.157. (In English)</mixed-citation></ref><ref id="B17"><mixed-citation>Hoover,&amp;nbsp;D. (2004). Testing Burrows&amp;rsquo;s Delta, Literary and Linguistic Computing, 19&amp;nbsp;(4), 453&amp;ndash;475. DOI: 10.1093/llc/19.4.453. (In English).</mixed-citation></ref><ref id="B18"><mixed-citation>Jannidis,&amp;nbsp;F., Pielstr&amp;ouml;m,&amp;nbsp;S., Sch&amp;ouml;ch,&amp;nbsp;C. and Vitt,&amp;nbsp;T. (2015). Improving Burrows&amp;rsquo; Delta &amp;ndash; An empirical evaluation of text distance measures, available at: https://www.researchgate.net/publication/280086768_Improving_Burrows&amp;rsquo;Delta-_An_empirical_evaluation_of_text_distance_measures (Accessed 5 April 2026). (In English)</mixed-citation></ref><ref id="B19"><mixed-citation>Koppel,&amp;nbsp;M., Schler,&amp;nbsp;J. and Argamon,&amp;nbsp;S. (2009). Computational methods in authorship attribution, Journal of the American Society for Information Science and Technology, 60&amp;nbsp;(1), 9&amp;ndash;26. DOI: 10.1002/asi.20961. (In English)</mixed-citation></ref><ref id="B20"><mixed-citation>Kocher,&amp;nbsp;M. and Savoy,&amp;nbsp;J. (2019). Evaluation of text representation schemes and distance measures for authorship linking, Digital Scholarship in the Humanities, 34&amp;nbsp;(1), 189&amp;ndash;207. DOI: 10.1093/llc/fqy013. (In English)</mixed-citation></ref><ref id="B21"><mixed-citation>Kovalev,&amp;nbsp;B.&amp;nbsp;V. (2024). From Classics to Digital Philology: On the Origin and Growth of Stylometry, Philologia Classica, 19&amp;nbsp;(2), 347&amp;ndash;360. DOI: 10.21638/spbu20.2024.211. (In English)</mixed-citation></ref><ref id="B22"><mixed-citation>Labb&amp;eacute;,&amp;nbsp;C. and Labb&amp;eacute;,&amp;nbsp;D. (2006). A Tool for Literary Studies: Intertextual Distance and Tree Classification, Literary and Linguistic Computing, 21&amp;nbsp;(3), 311&amp;ndash;326. DOI: 10.1093/llc/fqi063. (In English)</mixed-citation></ref><ref id="B23"><mixed-citation>Levy,&amp;nbsp;A., Shalom,&amp;nbsp;B.&amp;nbsp;R. and Chalamish,&amp;nbsp;M. (2025). A guide to similarity measures and their data science applications, J Big Data, 12, Art. 188. DOI: 10.1186/s40537-025-01227-1. (In English)</mixed-citation></ref><ref id="B24"><mixed-citation>Lin,&amp;nbsp;J. (1991). Divergence measures based on the Shannon entropy, IEEE Transactions on Information Theory, 37&amp;nbsp;(1), 145&amp;ndash;151. DOI: 10.1109/18.61115. (In English)</mixed-citation></ref><ref id="B25"><mixed-citation>Mikros, G., Sosoni, V., Manousakis, V., and Polychroniou, K. (2026). Burrows&amp;rsquo; Delta as a Convergent Validator: Stylometric Analysis for Complementary Machine Translation Evaluation.&amp;nbsp;Journal of Quantitative Linguistics, 1&amp;ndash;29. DOI: 10.1080/09296174.2026.2612931. (In English)</mixed-citation></ref><ref id="B26"><mixed-citation>Orekhov,&amp;nbsp;B.&amp;nbsp;V. (2024). Does Burrows&amp;rsquo; Delta really confirm that Rowling and Galbraith are the same author?, available at: https://publications.hse.ru/pubs/share/direct/950068199.pdf (Accessed 5 April 2026). DOI: 10.48550/arXiv.2407.10301. (In English)</mixed-citation></ref><ref id="B27"><mixed-citation>O&amp;rsquo;Sullivan, J. (2025). Stylometric comparisons of human versus AI-generated creative writing. Humanities and Social Sciences Communications, 12, 1708. DOI: 10.1057/s41599-025-05986-3. (In English)</mixed-citation></ref><ref id="B28"><mixed-citation>Pronin,&amp;nbsp;D. and Kazartsev,&amp;nbsp;E. (2026). Rank-Turbulence Delta and Interpretable Approaches to Stylometric Delta Metrics, available at: https://arxiv.org/pdf/2604.19499 (Accessed 5 April 2026). (In English)</mixed-citation></ref><ref id="B29"><mixed-citation>Rybicki,&amp;nbsp;J. and Eder,&amp;nbsp;M. (2011). Deeper Delta across genres and languages: do we really need the most frequent words?, Literary and Linguistic Computing, 26&amp;nbsp;(3), 315&amp;ndash;321. DOI: 10.1093/llc/fqr031. (In English)</mixed-citation></ref><ref id="B30"><mixed-citation>Savoy,&amp;nbsp;J. (2020). Machine Learning Methods for Stylometry: Authorship Attribution and Author Profiling, Springer International Publishing, Cham, Switzerland. DOI: 10.1007/978-3-030-53360-1. (In English)</mixed-citation></ref><ref id="B31"><mixed-citation>Skorinkin, D. and Orekhov, B. (2023). Hacking stylometry with multiple voices: Imaginary writers can override authorial signal in Delta. Digital Scholarship in the Humanities, 38&amp;nbsp;(3), 1247&amp;ndash;1264. DOI: 10.1093/llc/fqad012. (In English)</mixed-citation></ref><ref id="B32"><mixed-citation>Smith,&amp;nbsp;P. and Aldridge,&amp;nbsp;W. (2011). Improving Authorship Attribution. Optimizing Burrows&amp;rsquo; Delta Method, Journal of Quantitative Linguistics, 18&amp;nbsp;(1), 63&amp;ndash;88. DOI: 10.1080/09296174.2011.533591. (In English)</mixed-citation></ref><ref id="B33"><mixed-citation>Spearman,&amp;nbsp;C. (1904). The proof and measurement of association between two things, American Journal of Psychology, 15&amp;nbsp;(1), 72&amp;ndash;101. DOI: 10.2307/1412159. (In English)</mixed-citation></ref><ref id="B34"><mixed-citation>Stanikunas,&amp;nbsp;D., Mandravickaite,&amp;nbsp;J. and Krilavicius,&amp;nbsp;T. (2017). Comparison of distance and similarity measures for stylometric analysis of Lithuanian texts, available at: https://portalcris.vdu.lt/server/api/core/bitstreams/423f881d-b231-4a02-b509-80fd53205028/content (Accessed 28 April 2026). (In English)</mixed-citation></ref><ref id="B35"><mixed-citation>Willett,&amp;nbsp;P., Barnard,&amp;nbsp;J. and Downs,&amp;nbsp;G. (1998). Chemical similarity searching, J Chem Inform Comput Sci, 38, 983&amp;ndash;996. DOI: 10.1021/CI9800211. (In English)</mixed-citation></ref></ref-list></back></article>