<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>Computational Humanities Research Conference, December</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Boosting Word Frequencies in Authorship Attribution</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Maciej Eder</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Polish Language, Polish Academy of Sciences</institution>
          ,
          <addr-line>al. Mickiewicza 31, 31-120 Kraków</addr-line>
          ,
          <country country="PL">Poland</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2022</year>
      </pub-date>
      <volume>1</volume>
      <fpage>2</fpage>
      <lpage>14</lpage>
      <abstract>
        <p>In this paper, I introduce a simple method of computing relative word frequencies for authorship attribution and similar stylometric tasks. Rather than computing relative frequencies as the number of occurrences of a given word divided by the total number of tokens in a text, I argue that a more e昀케cient normalization factor is the total number roeflevant tokens only. The notion of relevant words includes synonyms and, usually, a few dozen other words in some ways semantically similar to a word in question. To determine such a semantic background, one of word embedding models can be used. The proposed method outperforms classical most-frequent-word approaches substantially, usually by a few percentage points depending on the input settings.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;authorship attribution</kwd>
        <kwd>stylometry</kwd>
        <kwd>relative word frequencies</kwd>
        <kwd>word vectors</kwd>
        <kwd>semantic neighbors</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>In a vast majority of text classi昀椀cation studies aimed at distinguishing unique authorial signal –
these include authorship attribution investigations, authorship pro昀椀ling, veri昀椀cation, and
similar tasks – relative frequencies of the most frequent words (MFWs) are routinely used as the
language features to betray the authorial “昀椀ngerprint”. A vector of such relative word
frequencies is then passed to one of the multidimensional machine-learning classi昀椀cation techniques,
ranging from simple distance-based lazy learners, such as Del2ta, 5[], to sophisticated deep
learning neural network setups6][.</p>
      <p>Recent advances in machine learning methodology – unheard-of and unprecedented –
massively reshaped the 昀椀eld of text classi昀椀cation. Three main methodological directions are
actively researched: 昀椀rstly, new classi昀椀ers emerge on the horizon to clearly outperform classical
solutions; secondly, feature engineering and dimensionality reduction techniques are
introduced to overcome the curse of high dimensionality, and thirdly, alternative style-markers that
can betray authorial idiosyncrasies are being introduced. The present paper explores none of
the above directions, though. Instead, I argue that a reasonable amount of overlooked
stylistic information resides in a time-proven, standard bag-of-word representation of textual data,
which is routinely used in dozens of stylometric studies.</p>
      <p>
        Certainly, there exist alternative features that prove to be e昀케cient style-markers in
authorship attribution setups. Most notably, lettenr-grams have been suggested as a strong authorial
indicator [16]. Also, grammatical features, such as POS-tang-grams, turned out to retain
information about authorial uniqueness8[]. Other intriguing ideas include observing the
immediate lexical context around proper noun1s2[]. Even if such alternative textual features exhibit a
great deal of potential to enhance text classi昀椀cation3[], the standard approach relying of word
frequencies continues to be predominant in the 昀椀eld 7[
        <xref ref-type="bibr" rid="ref17">, 18</xref>
        ]. In this paper, word frequencies
will be used as well, yet the step of normalizing them inretolative frequencies will be somewhat
enhanced. Speci昀椀cally, all the other words used to normalize the frequencies will be evaluated
and then reduced, so that a given word in question is normalized by its actual semantic
background. However, the general idea of enhancing the frequencies can be extended, I believe, to
other style-markers, including extra-lexical ones.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Word frequencies</title>
      <p>The notion of relative word frequencies is fairly simple. We count all the tokens belonging
to particular types (e.g. all the attestations of the word “the”, followed by the attestations of
“in”, “for”, “of” etc.), and for each word, we divide the number of types by the total number of
words in a document. Consequently, each word frequency is equal to its percentage within the
document (e.g. “the” = 0.0382), and all the frequencies sum up to 1. The reason of converting
occurrences to relative frequencies is obvious: by doing so, one is able to reliably compare texts
that di昀er in length. The notion of relative word frequencies is so natural and intuitive that
one might very easily overlook its methodological implications, as if it was nothing else than
a simple normalization procedure.</p>
      <p>For the sake of this paper, however, it is important to realize that relative frequencies are
relative toall the other words in a document in question. Convenient as they are, these values
are at the same time very small and – importantly – they are a昀ected by hundreds of other
word frequencies. Consequently, the 昀椀nal values might not be su昀케ciently precise to capture
minute di昀erences between word occurrences, because the normalization factor evens them
out to some extent. Now, what if we disregard thousands of other words in a text, and instead
compute the frequencies in relation to a small number of words thatraerleevant? An obvious
example is the mutual relation between the words “on” and “upon” in one docume1n5t][;
essentially, more attestations of “upon” come at the cost of the occurrences of the word “on”
– and vice versa. While the classical relative frequency of the word “on” in Emily Bronte’s
Wuthering Heights is 0.00687, the proportion of “on” relative exclusively to “upon” is 0.9762. It
is assumed in this paper that the latter frequency can betray the authorial signal to a greater
extent than the classical approach, because the myriads of other words are not blurring the
椀昀nal value.</p>
      <p>
        The idea of looking into semantics is not entirely new, since thesaurus-based approaches
have been already proposed in the context of authorship attributio1n1,[
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. It has been
suggested that a list of words organized into near-synonymous sets (“synsets”) and/or into larger
hierarchies can be used to extract the authorial signa9l],[it has been also demonstrated that
pairs of synonyms might contain valuable authorial informatio1n]. [However, the above
approaches are focused on identifying meaningful worbdesyond the usual MFWs, whereas the
present study is aimed to show that there is still some room to enhance the very MFWs.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Method</title>
      <p>Given the above “on” and “upon” example, it would be tempting to identify one synonym for
each of the words, and to compute the relative proportions in each of the synonym pairs, as
suggested in the already cited study1[]. Linguistically speaking, however, such an approach
would hardly be feasible. Firstly, only a fraction of words have their proper synonyms.
Secondly, some semantic 昀椀elds are rather rich and cannot be reduced to a mere pair of synonyms.
Thirdly, in the case of the most frequent words (articles, particles, prepositions) identifying
their synonyms doesn’t make much sense, yet stillr,elevant counterparts for these frequent
words obviously exist. On theoretical grounds, however, it is di昀케cult to speculate whether the
number of relevant counterparts should be restricted to a single word – as in the example of
“on” de昀椀ned by its relation to “upon” – or include, say, a dozen related words. E.g., to
determine the relative frequency of the word “make”, one would probably measure its proportion
against the sum of occurrences of “do”, “prepare”, “create”, “turn”, “cra昀琀”, “invent” etc. The
effective size of the semantic background is, however, very di昀케cult to conceptualize – not only
the actual number of related words, but even the order of magnitude are unknown. Take the
above example: should the word “make” be calculated against its 10 similar words, or would
the semantic background of 100 words be better?</p>
      <p>
        Another nontrivial question is related to the very method of extracting synonyms and other
semantically related words from a corpus. While thesaurus-based search might prove feasible
for single words, it will certainly become more demanding when dozens of seed words are
concerned. There exist, however, at least two strategies to approach the issue computationally.
One strategy involveswordnet, a manually compiled database of thousands of words with their
semantic and syntactic relations1[4], while the other relies on distributional semantics
methods. In particular, the algorithmword2vec should be mentioned in this context1[3], which
provides a vector representation of words that allows for identifying their semantic
similarities. Even if these inferred similarities do not comply with any formal grammar (rather, the
relations are known to be fuzzy at times), they usually look convincing to a human observer.
In the present study, a word vector modeGlloVe [
        <xref ref-type="bibr" rid="ref16">17</xref>
        ] was used to betray word similarities: it
was trained on the benchmark corpus of 99 English novels (as described below), with 100
target dimensions. A semantic background for a given seed word was de昀椀ned asn neighboring
vectors. Consequently, the resulting semantic background contained the most similar vectors
for a given seed word. E.g., the neighbors for the word “person” were: “woman”, “gentleman”,
“man”, “one”, “sort”, “whom”, “thing”, “young”, etc., whereas the neighbors for the word “the”
were as follows: “of”, “this”, “in”, “there”, “on”, “one”, “which”, “its”, “was”, “a”, “and”, etc. For
each target word, a relative frequency was calculated as the number of occurrences divided by
the sum of occurrences of itsn semantic neighbors (n being the size of semantic space to be
tested).
      </p>
      <p>In order to corroborate the above intuitions, a controlled authorship attribution experiment
was designed. A benchmark corpus of 99 English novels was used: it consists of 33 authorial
classes and 3 novels per author, and is freely available on GitHub reposithotrtyp:s://github.c
om/computationalstylistics/100_english_nove.lAs corpus of (naturally long) novels might
be considered inferior for authorship benchmarks, the high number of the authorial classes,
however, makes the task di昀케cult enough to su昀케ciently stress-test the classi昀椀er. To make the
task even harder, the amount of training data were restricted to 1 text per author, whereas the
remaining 2 texts per author were used as the validation set (the proportion ofvs3.366 texts
were kept in each iteration).</p>
      <p>Since the size of the semantic background is unknown, a grid-search framework was
designed to systematically assess tighter (1 relevant counterpart) and broader semantic spaces
(up to 10,000 words, inevitably going far beyond synonyms). The tests were performed using
the package stylo for R [4]. Di昀erent classi昀椀ers, MFW vectors and, most importantly,
di昀erent sizes of the semantic space were tested systematically, in a supervised setup with strati昀椀ed
cross-validation. On theoretical grounds, the size of the semantic spanc=e 80,000 (roughly the
total number word types in the benchmark corpus) would be equivalent to classical relative
frequencies, whereas the space of the sizen = 1 means that the frequencies are relative to exactly
one other word (e.g. the frequency of the word “the” would be the number of occurrences of
“the” divided by the total number of “the” and “of”).</p>
      <p>Independently, an alternative set of tests were performed using a regular relative frequencies.
The outcomes of these tests served as a baseline. In each test reported in this paper, the F1
scores are used as a compact and reliable measure of performance.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Results</title>
      <p>The obtained results (Table 1, and Fig. 1) clearly suggest that the new method outperforms
the classical relative frequencies solutiosunbstantially, no matter which distance measure is
used. In agreement with several previous studies, longer MFW vectors worked better than, say,
100 MFWs. Also according to expectation, Cosine Delta proves to be the undisputed winner
among the classi昀椀ers. Counter-intuitive, however, was the behavior of di昀erent classi昀椀ers
with the enhanced word frequencies. As evidenced in Fig. 1 top le昀琀 panel, Cosine Delta works
best with frequencies computed against 5–50 semantically similar words, whereas Burrows’s
Delta (top right) exhibits its sweet spot for 50–100 neighboring words, and so does Eder’s Delta
(bottom le昀琀). When the semantic background is further increased, the behavior of particular
classi昀椀ers becomes uniform across the board: it slowly but surely decreases to ultimately reach
the baseline level.</p>
      <p>Since the introduction of Burrows’s Delta practitioners are aware that scalzin-sgc o(ring)
the features is the very factor responsible for the performance boost observed in Delta and
its derivatives. Even if Manhattan distance does not scale the features (hence its
unpopularity in text classi昀椀cation), the improved word frequencies behave di昀erently than standard
approaches, which in turn might favor simple distances such as Manhattan. And indeed, the
scores obtained for the Manhattan Distance are radically better than the respective baseline
(Fig. 1, bottom right), yet still, Manhattan still cannot compete wizth-scored distances.</p>
      <p>According to the above results, a recipe for a successful authorship attribution setup seems
to be as follows: take roughly 800–900 MFWs, and compute their frequencies using, for each
word, the occurrences of their 5–10 semantic neighbors; then use the Cosine Delta classi昀椀er.</p>
      <p>Since in authorship attribution the results are proven to be unevenly distributed across
different MFW vectors, let alone di昀erent classi昀椀ers, Fig. 2 presents the same outcomes as
previously, yet this time de昀椀ned as the improvement (in percentage points) over the baseline F1
scores. While the overall best performance is obtained cfoa.r850 MFWs computed against 5–
10 words, the biggest gain over the baseline (more than 10 percentage points!) is provided by
the following scenario: 300 MFW frequencies computed against a tight semantic background
of 3 neighboring words. Other reasonable improvements are generally associated with short
MFW vectors and the semantic background of 5–100 words. In the case of Burrows’s Delta,
which worked with 900 MFWs computed against 60 neighboring words (Fig. 2, top right), the
improvement over the baseline is biggest for short vectors of MFWs. Interestingly, for
Burrows’s Delta the new method proves to bweorse than the baseline for long MFW vectors and
tight semantic spaces of 1–10 neighboring words. The picture for Eder’s Delta (bottom le昀琀)
is similar to that for Burrows’s method, even if its hot spot is slightly moved towards longer
MFWs vectors. Surprisingly enough, the results for Manhattan Distance turned out to be
substantially di昀erent from the other methods, and much less predictable. A large and pronounced
hot spot of radically improved performance forms for tight semantic spaces, across di昀erent
MFWs vectors. On the right hand side, the mountain of performance is followed by a deep
valley of no improvement at all, and then, counter-intuitively, another hill emerges, indicating
the boost of performance for the semantic spaces of 50–100 words. This behavior is di昀케cult to
explain.</p>
      <p>The proposed way of identifying an arbitrarily chosen number of semantic neighbors, might
su昀er from an uneven distribution of semantic neighbors in a given model (GloVe, word2vec,
fastText, etc.). E.g., 50 neighboring lexemes might point to a semantically coherent area around
a function word, or indicate but vague associations around a very speci昀椀c technical term. To
account for this factor, a second experiment has been conducted, in which I have de昀椀ned a
semantic background to be all the words located at a speci昀椀c cosine distance from a given
reference word. Consequently, rather than extractinngneighboring words, now I was extracting
all the words within the radius of 0.9 cosine similarity in the 昀椀rst iteration, then 0.85, 0.8 etc.,
all the way to –0.9. The results for Cosine Delta and Burrows’s Delta are shown in Fig. 3. As
can be seen, a clear hot spot forms in the area of 0.7–0.5 cosine similarity, despite the number
of MFWs or the classi昀椀er, and a昀琀er the distance of 0.3 the performance hits the baseline level.
The results con昀椀rm the general picture obtained in the previous experiment (Fig. 1), yet the
sweet spot area seems to be more di昀케cult to generalize.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Discussion</title>
      <p>The results presented in the previous section call for further exploration and above all, for a
concise discussion. A few general remarks can be formulated here:
1. No matter which classi昀椀cation method was used, the performance improvement turned
out to be large, clearly suggesting that bare word occurrences retain much more
authorial signal than the time-proven relative frequencies are able to betray. It can be safely
hypothesized that the method introduced in this paper barely opened a new perspective,
rather than o昀ered an ultimate solution to the problem.
2. In order to identifythe words that matter, a word embedding model was used – and this,
again, was far from an optimal solution. As a rough proxy, it nevertheless was able to
improve the word frequencies in the range of 5–50 neighboring words. On theoretical
grounds, a further improvement should be possible with a more precise method of
identifying relevant semantic background.
3. While the new method improves the performance across all the MFW strata, short MFW
vectors seem to bene昀椀t more. Interesting from a theoretical point of view, this
phenomenon has also a practical implication. Namely, since several studies suggest that
larger numbers of MFWs should be preferred as they generally exhibit better
performance, it is also believed that they are more likely to be a昀ected by genre, topic, and
content of the analyzed texts. With this in mind, some practitioners choose to conduct
authorship attribution on shorter MFW vectors. The method introduced in this paper
can greatly improve the performance in such setups.</p>
      <p>An observation that requires further investigation, is the discrepancy between classi昀椀ers
in how they react to the same semantic background. Contrary to intuition, for Burrows’s
Delta the improvement of performance was not simply correlated with the size of the semantic
background. Tight neighborhood – less than 20 synonyms and/or other related words – did not
outperform standard relative frequencies, whereas broader contextual informatiocan. o5f0–
100 related words showed a signi昀椀cant improvement over the baseline. In the case of Cosine
Delta, tight semantic background ocfa. 5–10 proved optimal, whereas broader spaces of 50–100
neighboring words were only marginally worse, still outperforming the baseline to a signi昀椀cant
degree.</p>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion</title>
      <p>The paper presented a simple method to improve the performance in di昀erent stylometric
setups. The method is conceptually straightforward and does not require any NLP tooling.
The only external piece of information that is required is a list of semantically related words for
each of the most frequent words in the corpus. A controlled experiment showed a signi昀椀cant
improvement of classi昀椀cation accuracy in a supervised multi-class authorship attribution setup.</p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgments</title>
      <p>This research is part of the projecLtarge-Scale Text Analysis and Methodological Foundations of
Computational Stylistics (2017/26/E/HS2/01019), supported by Poland’s National Science
Centre. The code and the datasets to replicate the experiments presented in this study are posted
on GitHub repositoryh:ttps://github.com/computationalstylistics/word_frequenc.ies
[16] F. Peng, D. Schuurmans, V. Keselj, and S. Wang. “Language independent authorship
attribution using character level language models”.PIrno:ceedings of the 10th Conference of
the European Chapter of the Association for Computational Linguistics. 2003, pp. 267–274.</p>
    </sec>
    <sec id="sec-8">
      <title>A. Function to compute enhanced word frequencies</title>
      <p>
        The following code de昀椀nes a function to compute the word frequencies as discussed in this
paper. The code is written in generic R and does not require any external R library to run.
The function takes three arguments: (i)word_frequencies is a document-term matrix, or a
table with raw frequencies (occurrences) or words in a given dataset; unlike typical stylometric
applications, where one usually takes a subset onfmost frequent words, here all the
information about infrequent words is equally important; (wioi)rd_vector_similarities is a table
containing, for each word, the nearest neighbors in a semantic space, e.g. the row for the word
“person” these are the following words: “woman”, “gentleman”, “man”, “one”, “sort”, “whom”,
“thing”, “young”, etc.; it is su昀케cient to compute the neighbors for 1000 most frequent words or
so, and the semantic depth can be reduced to, say, 100 semantically related words in each case
(for the sake of the present study, a set of 1000 most frequent words with their 10,000 semantic
neighbors were used); (iiin)o_of_similar_words a number (integer) of how many semantic
neighbors one wants to take into consideration.
compute_subset_frequencies = function(dtm_matrix,
word_vector_similarities,
no_of_similar_words) {
semantic_space = word_vector_similarities[ , 1:no_of_similar_words,
drop = FALSE]
no_of_words = dim(semantic_space)[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]
final_frequency_matrix = matrix(nrow = dim(dtm_matrix)[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ],
      </p>
      <p>
        ncol = no_of_words)
for(i in 1:no_of_words) {
# check if the required word(s) appears in the corpus
words_sanitize = semantic_space[i,] %in% colnames(dtm_matrix)
words_to_compute = semantic_space[i, words_sanitize]
# if the corpus doesn't contain any of the words required
# by the model, then grab the the most frequent word
# for reference (it should not happen often, though)
}
# add the occurences of the current word being computed;
# e.g. for the word "of", add "of" to the equation
words_to_compute = c(colnames(dtm_matrix)[i], words_to_compute)
# getting the occurrences of the relevant words from
# the input matrix of word occurrences:
f = dtm_matrix[, words_to_compute]
# finally, computing new relative frequencies
final_frequency_matrix[,i] = f[
        <xref ref-type="bibr" rid="ref1">,1</xref>
        ] / rowSums(f)
}
# sanitizing again, by replacing NaN values with Os
final_frequency_matrix[is.nan(final_frequency_matrix)] = 0
# tweaking the names of the rows and columns
rownames(final_frequency_matrix) = rownames(dtm_matrix)
colnames(final_frequency_matrix) = rownames(semantic_space)
class(final_frequency_matrix) = "stylo.data"
return(final_frequency_matrix)
}
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>G.</given-names>
            <surname>Borski</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Kokowski</surname>
          </string-name>
          . “
          <article-title>Copernicus, his Latin style and comments to Commentariolus”</article-title>
          .
          <source>In:Studia Historiae Scientiarum</source>
          <volume>20</volume>
          (
          <year>2021</year>
          ), pp.
          <fpage>339</fpage>
          -
          <lpage>438</lpage>
          . url: https://www.ejournal s.eu/Studia-Historiae-Scientiarum/
          <year>2021</year>
          /20-2021/art/
          <year>1975</year>
          .4/
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J.</given-names>
            <surname>Burrows</surname>
          </string-name>
          . “'Delta'
          <article-title>: a measure of stylistic di昀erence and a guide to likely authorship”</article-title>
          .
          <source>In: Literary and Linguistic Computing 17.3</source>
          (
          <issue>2002</issue>
          ), pp.
          <fpage>267</fpage>
          -
          <lpage>287</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <given-names>M.</given-names>
            <surname>Eder</surname>
          </string-name>
          . “
          <article-title>Style-markers in authorship attribution: a cross-language study of the authorial 椀昀ngerprint”</article-title>
          .
          <source>In: Studies in Polish Linguistics</source>
          <volume>6</volume>
          (
          <year>2011</year>
          ), pp.
          <fpage>99</fpage>
          -
          <lpage>114</lpage>
          . url: http://www.ejour nals.eu/SPL/2011/SPL-vol-
          <volume>6</volume>
          -2011.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <given-names>M.</given-names>
            <surname>Eder</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Rybicki</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Kestemont</surname>
          </string-name>
          . “
          <article-title>Stylometry with R: a package for computational text analysis”</article-title>
          .
          <source>In:R Journal 8.1</source>
          (
          <issue>2016</issue>
          ), pp.
          <fpage>107</fpage>
          -
          <lpage>121</lpage>
          . doi:
          <volume>10</volume>
          .32614/rj-2016-007.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>S.</given-names>
            <surname>Evert</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Proisl</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Jannidis</surname>
          </string-name>
          , I. Reger,
          <string-name>
            <given-names>S.</given-names>
            <surname>Pielström</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Schöch</surname>
          </string-name>
          , and
          <string-name>
            <given-names>T.</given-names>
            <surname>Vitt</surname>
          </string-name>
          . “
          <article-title>Understanding and explaining Delta measures for authorship attribution”</article-title>
          .
          <source>DInig:ital Scholarship in the Humanities</source>
          <volume>32</volume>
          (
          <issue>suppl</issue>
          . 2
          <year>2017</year>
          ), pp.
          <fpage>4</fpage>
          -
          <lpage>16</lpage>
          . doi:
          <volume>10</volume>
          .1093/llc/fqx02 3.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <given-names>H.</given-names>
            <surname>Gómez-Adorno</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-P.</given-names>
            <surname>Posadas-Durán</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Sidorov</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Pinto</surname>
          </string-name>
          . “
          <article-title>Document embeddings learned on various types of n-grams for cross-topic authorship attribution”</article-title>
          .
          <source>In: Computing 100.7</source>
          (
          <issue>2018</issue>
          ), pp.
          <fpage>741</fpage>
          -
          <lpage>756</lpage>
          . doi:
          <volume>10</volume>
          .1007/s00607-018-0587-8.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>J. W.</given-names>
            <surname>Grieve</surname>
          </string-name>
          . “
          <article-title>Quantitative authorship attribution: An evaluation of techniques”</article-title>
          .
          <source>LInit:- erary and Linguistic Computing 22.3</source>
          (
          <issue>2007</issue>
          ), pp.
          <fpage>251</fpage>
          -
          <lpage>270</lpage>
          . doi:
          <volume>10</volume>
          .1093/llc/fqm02 0.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>G.</given-names>
            <surname>Hirst</surname>
          </string-name>
          and
          <string-name>
            <given-names>O.</given-names>
            <surname>Feiguina</surname>
          </string-name>
          . “
          <article-title>Bigrams of syntactic labels for authorship discrimination of short texts”</article-title>
          .
          <source>In:Literary and Linguistic Computing 22.4</source>
          (
          <issue>2007</issue>
          ), pp.
          <fpage>405</fpage>
          -
          <lpage>417</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>P.</given-names>
            <surname>Juola</surname>
          </string-name>
          . “
          <article-title>Thesaurus-based semantic similarity judgments”. IDn:rawing Elena Ferrante's pro昀椀le</article-title>
          . Ed. by
          <string-name>
            <given-names>A.</given-names>
            <surname>Tuzzi</surname>
          </string-name>
          and
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Cortelazzo</surname>
          </string-name>
          . Padova: Padova University Press,
          <year>2018</year>
          , pp.
          <fpage>47</fpage>
          -
          <lpage>59</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10] [11] [12]
          <string-name>
            <given-names>M.</given-names>
            <surname>Koppel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Akiva</surname>
          </string-name>
          ,
          <string-name>
            <surname>and I. Dagan.</surname>
          </string-name>
          “
          <article-title>Feature instability as a criterion for selecting potential style markers”</article-title>
          .
          <source>InJ:ournal of the American Society for Information Science and Technology 57.11</source>
          (
          <year>2006</year>
          ), pp.
          <fpage>1519</fpage>
          -
          <lpage>1525</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <string-name>
            <given-names>H.</given-names>
            <surname>Love</surname>
          </string-name>
          .
          <article-title>Attributing authorship: An introduction</article-title>
          . Cambridge: Cambridge University Press,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          <string-name>
            <given-names>A.</given-names>
            <surname>Lučić</surname>
          </string-name>
          and
          <string-name>
            <given-names>C. L.</given-names>
            <surname>Blake</surname>
          </string-name>
          . “
          <article-title>A syntactic characterization of authorship style surrounding proper names”</article-title>
          .
          <source>In:Digital Scholarship in the Humanities 30.1</source>
          (
          <issue>2013</issue>
          ), p.
          <fpage>53</fpage>
          . doi:
          <volume>10</volume>
          .1093/l lc/fqt033.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>T.</given-names>
            <surname>Mikolov</surname>
          </string-name>
          , I. Sutskever,
          <string-name>
            <given-names>K.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. S.</given-names>
            <surname>Corrado</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Dean</surname>
          </string-name>
          . “
          <article-title>Distributed representations of words and phrases and their compositionality”</article-title>
          .
          <source>IAn:dvances in neural information processing systems</source>
          .
          <source>2013</source>
          , pp.
          <fpage>3111</fpage>
          -
          <lpage>3119</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>G. A.</given-names>
            <surname>Miller</surname>
          </string-name>
          . “
          <article-title>WordNet: A lexical database for English”</article-title>
          .
          <source>CInom:munications of the ACM 38.11</source>
          (
          <year>1995</year>
          ), pp.
          <fpage>39</fpage>
          -
          <lpage>41</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>F.</given-names>
            <surname>Mosteller</surname>
          </string-name>
          and
          <string-name>
            <surname>D.</surname>
          </string-name>
          <article-title>WallaceIn.ference and disputed authorship: The Federalist</article-title>
          .
          <source>Stanford: CSLI Publications</source>
          ,
          <year>1964</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>J.</given-names>
            <surname>Pennington</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Socher</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C. D.</given-names>
            <surname>Manning</surname>
          </string-name>
          . “GloVe:
          <article-title>Global vectors for word representation”</article-title>
          .
          <source>In: Empirical Methods in Natural Language Processing (EMNLP)</source>
          .
          <year>2014</year>
          , pp.
          <fpage>1532</fpage>
          -
          <lpage>1543</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [18]
          <string-name>
            <surname>E. Stamatatos. “</surname>
          </string-name>
          <article-title>A survey of modern authorship attribution methods”</article-title>
          .
          <source>IJno:urnal of the American Society for Information Science and Technology 60.3</source>
          (
          <issue>2009</issue>
          ), pp.
          <fpage>538</fpage>
          -
          <lpage>556</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          <article-title>if(length(words_to_compute) == 0) { words_to_compute = colnames(dtm_matrix)[1]</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>