<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
    <teiHeader>
        <fileDesc>
            <titleStmt>
                <title>I Catching — Computationally Operationalising Narrative Perspective for Stylometric Analysis</title>
                <author>
                    <persName>
                        <surname>Van Rossum</surname>
                        <forename>Lisanne M.</forename>
                    </persName>
                    <affiliation>Utrecht University</affiliation>
                    <email>lisanne.van.rossum@huygens.knaw.nl</email>
                </author>
                <author>
                    <persName>
                        <surname>Van Zundert</surname>
                        <forename>Joris J.</forename>
                    </persName>
                    <affiliation>Huygens Institute for the History of the Netherlands – Royal Netherlands Academy of Arts and Sciences, Netherlands, The</affiliation>
                    <email>joris.van.zundert@huygens.knaw.nl</email>
                </author>
                <author>
                    <persName>
                        <surname>Van Dalen–Oskam</surname>
                        <forename>Karina</forename>
                    </persName>
                    <affiliation>Huygens Institute for the History of the Netherlands – Royal Netherlands Academy of Arts and Sciences, Netherlands, The; University of Amsterdam</affiliation>
                    <email>karina.van.dalen@huygens.knaw.nl</email>
                </author>
            </titleStmt>
            <editionStmt>
                <edition>
                    <date>2021-06-14T19:36:00Z</date>
                </edition>
            </editionStmt>
            <publicationStmt>
                <publisher>Elisabeth Burr, University of Leipzig</publisher>
                <address>
                    <addrLine>Beethovenstr. 15</addrLine>
                    <addrLine>04107 Leipzig</addrLine>
                    <addrLine>Germany</addrLine>
                    <addrLine>Elisabeth Burr</addrLine>
                </address>
            </publicationStmt>
            <sourceDesc>
                <p>Converted from a Word document</p>
            </sourceDesc>
        </fileDesc>
        <encodingDesc>
            <appInfo>
                <application ident="DHCONVALIDATOR" version="1.22">
                    <label>DHConvalidator</label>
                </application>
            </appInfo>
        </encodingDesc>
        <profileDesc>
            <textClass>
                <keywords scheme="ConfTool" n="category">
                    <term>Paper</term>
                </keywords>
                <keywords scheme="ConfTool" n="subcategory">
                    <term>Short Paper</term>
                </keywords>
                <keywords scheme="ConfTool" n="keywords">
                    <term>stylometry</term>
                    <term>literature</term>
                    <term>perspective</term>
                    <term>narrative strcuture</term>
                    <term>narratology</term>
                    <term>computational</term>
                </keywords>
                <keywords scheme="ConfTool" n="topics">
                    <term>Content Analysis</term>
                    <term>Stylistic Analysis</term>
                    <term>Modeling</term>
                    <term>Text</term>
                    <term>Methods</term>
                    <term>Literature</term>
                    <term>Data</term>
                    <term>not applicable</term>
                    <term>not applicable</term>
                    <term>not applicable</term>
                    <term>not applicable</term>
                    <term>not applicable</term>
                    <term>not applicable</term>
                    <term>English</term>
                </keywords>
            </textClass>
        </profileDesc>
    </teiHeader>
    <text>
        <body>
            <div type="div1" rend="DH-Heading1">
                <head>Introduction</head>
                <p>In computational literary studies, various stylometric methods are applied. To verify authorship, for instance, or to map stylistic differences between texts, authors, genres, etc. In the project The Riddle of Literary Quality, stylometry was used to investigate the concept of literary quality with the main objective to establish which linguistic features are more prominent in novels that readers rate as highly literary, as opposed to novels that are rated less high. The project demonstrated the combined importance of a novel’s textual qualities for its perceived literariness, qualities. Readers referred to narrative structure and plot (Koolen et al. 2020) and software highlighted semantic complexity and lexical originality (Van Cranenburgh 2016). Furthermore, the work’s embeddedness in social structures such as genre and author gender plays a role (Koolen 2018). Narrative perspective is only one factor that is fundamental to stylistic analysis, for example in the isolation of free indirect discourse by Brunner (2019), but to date has proven challenging to examine computationally. Establishing narrative perspective, however, is important when we want to answer questions such as whether novels with a first person narrator significantly differ in style from novels with a third person narrator, and whether a text’s narrative perspective correlates with its perceived literariness. Especially when dealing with large size corpora, as in the case of the Riddle project, we need to be able to establish narrative perspective computationally and reliably. In this paper we present and evaluate a method to do exactly this.</p>
            </div>
            <div type="div1" rend="DH-Heading1">
                <head>Method &amp; Results</head>
                <p>We applied two approaches to our development of a measure to determine perspective in fiction computationally, so as to be able to thoroughly validate our results. </p>
                <p>The first measure is a machine learning approach, where we try to let the “data speak for itself” bottom up. The second approach is more narratologically theoretically informed and based on computing the ratio of combinations of pronouns.
                    <note place="foot" xml:id="ftn1" n="1">
                        <p rend="footnote text"> Code for both approaches is open source (MIT license) and available in Github: 
                            <ref target="https://github.com/jorisvanzundert/riddle_ikindex">https://github.com/jorisvanzundert/riddle_ikindex</ref>.
                        </p>
                    </note> 
                </p>
                <p>Both methods were tested and validated on 1001 selected full text fragments of Dutch fiction non-dialogue narrative that were labeled for first and third person perspective. Both measures were verified by leave-one-out testing, thus yielding 1001 observations each. We found that both approaches are highly effective in determining narrative perspective, yielding a F1 harmonic mean of 0.97 for the machine learning approach and a perfect 1.00 score for the pronoun ratio approach (cf. figures 1 and 2).</p>
                <figure>
                    <graphic n="1001" width="16.002cm" height="5.755569444444444cm" url="Pictures/b73e2155af7176039c2e8f96bfba3ae9.png" rend="inline"/>
                </figure>
                <p>Figure 1: Swarm plot of predictions, F1 curve, and confusion matrix for the machine learning approach. </p>
                <figure>
                    <graphic n="1002" width="16.002cm" height="5.813777777777778cm" url="Pictures/41ddff5bcbf1d0e3b85d5000528d2811.png" rend="inline"/>
                </figure>
                <p>Figure 2: Swarm plot, F1 curve, and confusion matrix for pronoun index approach. </p>
                <p>The machine learning approach used a three layer feed forward convolution neural network with a standard Keras Python implementation backed by Tensorflow. The pronoun ratio based approach we started by using equation (1).</p>
                <figure>
                    <graphic n="1003" width="15.980833333333333cm" height="1.8344444444444445cm" url="Pictures/31e0e0af94d7f4b49ac71c74a77f55d2.png" rend="inline"/>
                </figure>
                <p>Equation 1: I-index based on counts of the pronouns “ik” (“I”), “hij” (“he”), and “zij” (“she”).</p>
                <p>Equation 1 computes the ratio between first person pronoun singular “ik” (transl. “I”) and third person pronouns singular “hij” and “zij” (transl. “he”, “she”). This equation worked well, but evolving it we found that including more perspective revealing pronouns yielded near perfect to perfect results. The equation eventually derived is depicted as equation 2, or Van Rossum’s I-index.
                    <note place="foot" xml:id="ftn2" n="2">
                        <p rend="footnote text"> As a gesture of appreciation for her sound and creative contribution to developing this measure, well beyond the baseline for any expected contribution of a master student to a research project, we have chosen to name this equation “Van Rossum’s I-index”.</p>
                    </note>
                </p>
                <figure>
                    <graphic n="1004" width="15.980833333333333cm" height="1.8344444444444445cm" url="Pictures/94164a171d6b9f0ef0c5840f73c06a24.png" rend="inline"/>
                </figure>
                <p>Equation 2: I-index based on counts of a fuller set of pronouns including second person, plural, and possessive pronouns. </p>
            </div>
            <div type="div1" rend="DH-Heading1">
                <head>Discussion</head>
                <p>As a first step in developing some baseline approaches to computationally describing narrative perspective present in text, these measures yield excellent and comparable results. However, we prefer the pronoun ratio based approach above the machine learning one because it more clearly indicates and reveals the linguistic and narratological properties sought after and associated with the narratological inference. </p>
                <p>Additionally, we would like to underline the versatility and flexibility of our computational measure, as it can be simply adapted to expand the range of pronouns that it accounts for, as evidenced by our own refinement process, and it can be rearranged to accommodate different narratological foci — a third-person index, for instance, or an index of plural perspective. Although of minor importance, it could also be noted that the statistics based method outperforms the machine learning method as to speed.</p>
                <p>In a sense our approach is consciously naive because of our determination to establish a baseline measure. Obviously perspective in fiction is more complex than the dichotomy between first and third person view (cf. for instance Fludernik 1995, on unfamiliar pronominal strategies such as second-person pronouns of address and impersonal pronouns in experimental fiction). In anticipation we purposefully designed this computational measure as an index to acknowledge our intention to approach literary perspective as a spectrum, rather than as a binary system. This design also opens up the possibility of the index’s use for narratological shifts within the context of the full text of novels. </p>
                <p>It must be noted however that our measures have been tested on narrative text in the sense of text without quoted or directly implied dialogue. In the case of indirect free speech, however, it is not readily clear whom the narrative perspective is most closely associated with (either speaker or story teller) and how mixed perspective in such cases could and should be measured. </p>
                <p>Another conscious naivety in our approach is the establishing of the harmonic mean. Because both observations, predictions and labels were fully known in this case, we could simply compute the “cut off” value for predictions that would yield the highest F1 score. In real-world situations there is obviously no way to do this. Further experimenting needs to determine if these cut off values are both realistic and usable in unsupervised situations. </p>
                <p>Obviously our pronoun ratio based method only works for languages that have relatively easy and unambiguously determinable pronoun identifiers, such as Dutch, German, and English. The situation for languages with verb or noun inflexion to indicate pronouns might be more difficult.</p>
            </div>
            <div type="div1" rend="DH-Heading1">
                <head>Future work</head>
                <p>We want to expand our evaluation to examine if the found cut off rates for predictions is stable over different compositions of the corpus. This is important to establish a reliably suggested cut off in real world situations. Furthermore, we want to expand our work into the direction of automatically distinguishing dialogue and non-dialogue text to be able to work more concretely on the problem of mixed perspective story text. </p>
            </div>
        </body>
        <back>
            <div type="bibliogr">
                <listBibl>
                    <head>Bibliography</head>
                    <bibl>
                        <hi rend="bold">Brunner, Annelen</hi> (2019): "Speech, thought and writing
                        representation - Towards automatic detection", in: <hi rend="italic"
                            >Zeitschrift für germanistische Linguistik</hi> 47, 1: 216-248 DOI: <ref
                            target="https://doi.org/10.1515/zgl-2019-0007"
                            >10.1515/zgl-2019-0007</ref>. </bibl>
                    <bibl>
                        <hi rend="bold">Fludernik, Monika</hi> (1995): "Pronouns of address and
                        'odd' third person forms: the mechanics of involvement in fiction", in:
                        Green, Keith (ed.): <hi rend="italic">New Esssays in Deixis: Discourse,
                            Narrative, Literature</hi> (= Costerus New Series 103). Amsterdam /
                        Atlanta: Rodopi 99-129. </bibl>
                    <bibl>
                        <hi rend="bold">Koolen, Corina</hi> / <hi rend="bold">van Dalen-Oskam,
                            Karina</hi> / <hi rend="bold">van Cranenburgh, Andreas</hi> / <hi
                            rend="bold">Nagelhout, Erica</hi> (2020): "Literary quality in the eye
                        of the Dutch reader: The National Reader Survey", in: <hi rend="italic"
                            >POETICS</hi> 79 DOI: <ref
                            target="https://doi.org/10.1016/j.poetic.2020.101439"
                            >10.1016/j.poetic.2020.101439</ref>. </bibl>
                    <bibl>
                        <hi rend="bold">Koolen, Corina W.</hi> (2018): <hi rend="italic">Reading
                            Beyond the Female: the relationship between perception of author gender
                            and literary quality</hi>. Phd, University of Amsterdam. </bibl>
                    <bibl>
                        <hi rend="bold">Van Cranenburgh, Andreas</hi> (2016): <hi rend="italic">Rich
                            Statistical Parsing and Literary Language</hi>. Phd, University of
                        Amsterdam &lt;<ref target="http://andreasvc.github.io/phdthesis_v1.1.pdf"
                            >http://andreasvc.github.io/phdthesis_v1.1.pdf</ref>&gt; [27.04.2018].
                    </bibl>
                </listBibl>
            </div>
        </back>
    </text>
</TEI>
