<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20120330//EN" "http://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd">
<!--<?xml-stylesheet type="text/xsl" href="article.xsl"?>-->
<article article-type="research-article" dtd-version="1.2" xml:lang="en" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<front>
<journal-meta>
<journal-id journal-id-type="issn">2940-1348</journal-id>
<journal-title-group>
<journal-title>Journal of Computational Literary Studies</journal-title>
</journal-title-group>
<issn pub-type="epub">2940-1348</issn>
<publisher>
<publisher-name>Technische Universit&#228;t Darmstadt</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.48694/jcls.4055</article-id>
<article-categories>
<subj-group>
<subject>Article</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Towards Computational Analysis of Gender Depiction in the Comedias of Calder&#243;n de la Barca</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<contrib-id contrib-id-type="orcid">https://orcid.org/0009-0001-8812-0079</contrib-id>
<name>
<surname>Keith</surname>
<given-names>Allison</given-names>
</name>
<email>allison.keith@ims.uni-stuttgart.de</email>
<xref ref-type="aff" rid="aff-1">1</xref>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-8916-4997</contrib-id>
<name>
<surname>Castro</surname>
<given-names>Antonio Rojas</given-names>
</name>
<xref ref-type="aff" rid="aff-2">2</xref>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-8572-7836</contrib-id>
<name>
<surname>Ehrlicher</surname>
<given-names>Hanno</given-names>
</name>
<xref ref-type="aff" rid="aff-2">2</xref>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-9548-8461</contrib-id>
<name>
<surname>Jung</surname>
<given-names>Kerstin</given-names>
</name>
<xref ref-type="aff" rid="aff-1">1</xref>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-7529-6825</contrib-id>
<name>
<surname>Pad&#243;</surname>
<given-names>Sebastian</given-names>
</name>
<xref ref-type="aff" rid="aff-1">1</xref>
</contrib>
</contrib-group>
<aff id="aff-1"><label>1</label>Department of Natural Language Processing, University of Stuttgart <ext-link ext-link-type="uri" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://ror.org/04vnq7t77">ROR</ext-link>, Stuttgart, Germany</aff>
<aff id="aff-2"><label>2</label>Faculty of Humanities, University of T&#252;bingen <ext-link ext-link-type="uri" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://ror.org/03a1kwz48">ROR</ext-link>, T&#252;bingen, Germany</aff>
<pub-date publication-format="electronic" date-type="pub" iso-8601-date="2025-11-07">
<day>07</day>
<month>11</month>
<year>2025</year>
</pub-date>
<pub-date pub-type="collection">
<year>2025</year>
</pub-date>
<volume>4</volume>
<issue>1</issue>
<fpage>1</fpage>
<lpage>27</lpage>
<history>
<date date-type="received" iso-8601-date="2024-08-27">
<day>27</day>
<month>08</month>
<year>2024</year>
</date>
<date date-type="accepted" iso-8601-date="2025-04-18">
<day>18</day>
<month>04</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright: &#x00A9; 2025 The Author(s)</copyright-statement>
<copyright-year>2025</copyright-year>
<license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/">
<license-p>The text of this work is released under the Creative Commons license CC BY 4.0 International. You can find the contract text of the license at <uri xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</uri>. The illustrations are excluded from this license, here the copyright lies with the respective rights holder.</license-p>
</license>
</permissions>
<self-uri xlink:href="https://jcls.io/articles/10.48694/jcls.4055/"/>
<abstract>
<p>In theater, playwrights can use the portrayal of characters to explore culturally based gender norms. In this paper, we develop quantitative methods to study gender depiction in the non-religious works (<italic>comedias</italic>) of Pedro Calder&#243;n de la Barca, a prolific Spanish 17th century author. We gather insights from a corpus of more than 100 plays by using a gender classifier and applying model explainability (attribution) methods to determine which text features are most influential in the model&#8217;s decision to classify speech as &#8216;male&#8217; or &#8216;female&#8217;, indicating the most gendered elements of dialogue in Calder&#243;n&#8217;s <italic>comedias</italic> in a manner accessible to humans. We find that the classifier picks up the male/female distinction mostly successfully (up to f=0.83), yields semantic aspects of gender portrayal, and demonstrates that the model is useful in providing a relatively accurate scene-by-scene prediction of cross-dressing characters.</p>
</abstract>
<kwd-group>
<kwd>Automatic classification</kwd>
<kwd>Calder&#243;n de la Barca</kwd>
<kwd>Siglo de oro</kwd>
<kwd>Machine Learning</kwd>
<kwd>Explainable AI</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="S1">
<title>1. Introduction</title>
<p>In Spain, the Baroque period (approx. 1600&#8211;1700) was a period of immense artistic creativity, generally known as the &#8216;Golden Age&#8217; (<italic>Siglo de Oro</italic>). This is particularly true in literature, where the period saw exceptional writers such as Lope de Vega, Tirso de Molina and Pedro Calder&#243;n de la Barca. The latter, who lived from 1600 to 1681, is generally considered as one of the most important playwrights of the age. He was immensely productive, writing a total of over 200 theatrical plays, both secular and religious, which had a lasting impact on Spanish theatre and beyond (<xref ref-type="bibr" rid="B16">Fitzmaurice-Kelly 1921</xref>). He is particularly known for detailed and nuanced portrayal of the characters in his works (<xref ref-type="bibr" rid="B48">Woods 2013</xref>).</p>
<p>Not surprisingly, Calder&#243;n&#8217;s writings have been subject to intense analysis by literary scholars over a long period of time, and topics have moved in and out of fashion. For example, traditional foci of scholarship have been the role of honor and power (<xref ref-type="bibr" rid="B18">Greer 1991</xref>) as well as his attention to dramatic structure (<xref ref-type="bibr" rid="B45">Whitby 1954</xref>).</p>
<p>A relatively new aspect among these, which has gained global attention in Hispanic Studies since the latter half of the 20th century, is <italic>gender depiction</italic>, that is, the question of how Calder&#243;n conceptualized male and female roles in his plays differently (<xref ref-type="bibr" rid="B2">Arellano Ayuso 2015</xref>; <xref ref-type="bibr" rid="B32">S&#225;ez 2019</xref>; <xref ref-type="bibr" rid="B40">Tietz and Arnscheidt 2017</xref>). Interestingly, scholars have come to very different conclusions regarding Calder&#243;n&#8217;s gender portrayal. Some studies find that Calder&#243;n depicts a broadly period-typical understanding of gender identity and gender norms. For example, Granja Ibarreche (<xref ref-type="bibr" rid="B17">2020</xref>) study the representation of male characters, particularly in relation to honor, in plays such as <italic>El m&#233;dico de su honra, El Alcalde Zalamea</italic>, or <italic>El pintor de su deshonra</italic>. In these pieces, male characters, often husbands, fathers, or brothers, strive to uphold their social status, wielding power, owning properties, and navigating public spaces with traits such as bravery, patience, and caution (<xref ref-type="bibr" rid="B13">Fern&#225;ndez Guillermo 2017</xref>). Conversely, in plays like <italic>Casa con dos puertas mala es de guardar</italic> or <italic>La dama duende</italic>, women are frequently confined to domestic spaces, initiating disputes and deftly manipulating characters like puppets in games of seduction leading to a harmonious resolution (<xref ref-type="bibr" rid="B32">S&#225;ez 2019</xref>).</p>
<p>In contrast, other studies have found that Calder&#243;n&#8217;s work transcends societal norms by providing a dynamic platform for the exploration of gender identities (<xref ref-type="bibr" rid="B40">Tietz and Arnscheidt 2017</xref>) such as &#8216;perverse&#8217; women &#8211; women who use deception against men to achieve their goals. While absent from comedies, these form a recurring character type in tragic pieces (<xref ref-type="bibr" rid="B2">Arellano Ayuso 2015</xref>). Similarly, several well-known works depict female characters cross-dressing as men and performing traits typically associated with masculinity (<xref ref-type="bibr" rid="B1">Araico 2017</xref>; <xref ref-type="bibr" rid="B5">Bravo-Villasante 1976</xref>; <xref ref-type="bibr" rid="B37">Strosetzki 2017</xref>). A commonly used trope of the time period, playwrights utilized cross-dressing as a means for female characters to transcend the domestic space and actively participate in both society and the action of the play.</p>
<p>Thus, there appear to be conflicting tendencies of gender depiction in Calder&#243;n&#8217;s work: It is both deeply shaped by plot and genre conventions, but is used as a grounds to expand social ideas about gender roles by representing women with agency who drive plot progression and utilize covert ways to exercise their will (<xref ref-type="bibr" rid="B48">Woods 2013</xref>). A possible explanation for the picture that emerges is that, throughout the massive catalogue of Calder&#243;n&#8217;s works, a select few have been given close attention by scholars who adopt a &#8216;close reading&#8217; method focusing on individual dramas sampled of the more than 100 secular dramas written by Calder&#243;n. Consequently, studying all the dramas can show if this picture holds true for the oeuvre as a whole.</p>
<p>This prompts the classical motivation for scalable reading methods (<xref ref-type="bibr" rid="B44">Weitin 2017</xref>) from digital humanities, combining computational models with manual interpretation: Can we make out <italic>global</italic> patterns in gender depiction that hold across Calder&#243;n&#8217;s whole body of secular dramas?</p>
<p>In this study, we propose to build on recent developments regarding the <italic>explainability of AI models</italic> (<xref ref-type="bibr" rid="B4">Bibal et al. 2022</xref>; <xref ref-type="bibr" rid="B46">Wiegreffe and Pinter 2019</xref>) which aim at providing a human-understandable justification of model decisions. This makes it possible to consider a computational model of a literary phenomenon primarily as an <italic>aggregation mechanism</italic> that summarizes large amounts of text into a much smaller set of predictions, and then to trace these predictions back to the linguistic properties that gave rise to them.</p>
<p>We show the feasibility of this research program by training a <italic>gender classifier</italic> based on the characters&#8217; speech. The motivation here is not to carry out the task of gender classification, but to ask questions about the classifier&#8217;s predictions: How difficult is the task &#8211; i.e., how consistent is Calder&#243;n&#8217;s gender depiction? What features does the model rely on for its predictions &#8211; i.e., what linguistic patterns does Calder&#243;n use for gender depiction? What characters or character groups are easy or difficult to classify &#8211; i.e., what characters are depicted in unconventional or unexpected fashions?</p>
<p>Our work is not the first to classify characters and their properties based on their speech. Five are particularly close. First, Vishnubhotla et al. (<xref ref-type="bibr" rid="B41">2019</xref>) analyze the ability of classifiers to distinguish among characters within a play to determine if authors were able to write characters with distinct voices; they however ask the question at a general level, without reference to gender or Calder&#243;n. Second, Bullard and Ovesdotter Alm (<xref ref-type="bibr" rid="B6">2014</xref>) predict various demographic properties of characters, including gender. However, their study was still based on hand-picked features fed into a regression model. Next, Savoy (<xref ref-type="bibr" rid="B33">2023</xref>) conducted a classification experiment on the gender of Shakespeare characters based on lines, using random forest and logistic regression. Two more studies adopt tools from stylometry, extending the approach from authorship attribution to the more fine-grained character portrayal. &#352;e&#316;a et al. (<xref ref-type="bibr" rid="B35">2024</xref>) carry out <italic>n</italic>-gram analysis to examine characteristics of gender depiction in French, Russian, German, and English dramas, specifically looking at the distinctiveness of characters and revealing distinct authorial style. Finally, Lorenzo (<xref ref-type="bibr" rid="B26">2024</xref>) compares the depiction of male and female characters in the works of Calder&#243;n and another playwright, Sor Juana de la Cruz, on a comparatively small number of works.</p>
<p>Our study takes advantage of recent developments in Natural Language Processing by representing character speech using language models (LMs). This gives rise to two major new design questions. First, LMs decrease reliance on feature engineering, but for the purpose we have in mind (explaining the model predictions), not all parts of the input are equally informative. Second, LMs are still known to struggle with identifying relevant information in long texts. This raises the question of how much information to present to the classifier at each time: Too little (e.g., just one line), and the input may contain insufficient hints as to the speaker&#8217;s gender; too much (e.g., a character&#8217;s complete text from a drama), and the model may struggle. Also, the predictions of the model for each individual part of the input have to be aggregated into a prediction at a more global level, for which we also consider multiple options. We discuss both of these issues in <xref ref-type="sec" rid="S2">section 2</xref> below.</p>
<p>We find that our models are able to correctly classify the gender of characters in Calder&#243;n&#8217;s <italic>comedias</italic>. Our experiments yield the best results when given the most amount of input text, but the models also perform well when using an aggregation method that takes into account the confidence of each prediction. We take this as a positive result for computational analysis of gender portrayal in the works of Calder&#243;n: It shows that there are recognizable gender cues at the scene level and, at the same time, that characters&#8217; gender roles can vary over the course of a play. Finally, an examination of the most explanatory features in the models predictions demonstrate that the model picks up on both grammatical and semantic information that contribute to gender prediction. The examination of cross-dressing female characters demonstrates that these characters&#8217; lines are more similar to the speech of male characters compared to more traditional female characters, particularly during cross-dressing scenes.</p>
</sec>
<sec id="S2">
<title>2. Methods</title>
<sec id="S2.1">
<title>2.1 Language Models and Word Embedding-Based Classification</title>
<p>The most important direction of innovation in natural language processing (NLP) of the last ten years has been the development of <italic>distributional semantics</italic> into a framework which underlies almost all processing models in NLP. This idea reached its current form through four major phases.</p>
<p>In the first phase, distributional semantics, built on ideas from structuralist semantics (<xref ref-type="bibr" rid="B14">Firth 1957</xref>), was developed into an approach that aimed at capturing the meaning of target words by counting co-occurrences of these target words with words in their context. This naturally corresponds to a representation of words as context vectors (or <italic>embeddings</italic>), and of semantic similarity as a measure of contextual similarity between words (<xref ref-type="bibr" rid="B28">Miller and Charles 1991</xref>).</p>
<p>In the second phase, the construction of such embeddings moved from explicit context counting to the use of neural language models. Such language models are presented with a textual prefix (&#8216;holiday on Sri &#8230;&#8217;) and have the task of predicting the subsequent token (&#8216;Lanka&#8217;). When trained to do so on large text corpora, the learned parameters of such language models are essentially word embeddings (<xref ref-type="bibr" rid="B27">Mikolov et al. 2013</xref>).</p>
<p>The next phase involved the introduction of the so-called transformer architecture, which introduces the ability to make word embeddings sensitive to their context: e.g., &#8216;root&#8217; receives a different embedding in the phrase &#8216;root canal&#8217; than in the phrase &#8216;square root&#8217;. The resulting <italic>contextualized</italic> language models can account for lexical ambiguity in a principled fashion (<xref ref-type="bibr" rid="B9">Devlin et al. 2019</xref>). Model families of this type, such as BERT, have shown to be applicable to almost all standard tasks in NLP by obtaining word embeddings for an input text, aggregating these embeddings to obtain a text embedding (e.g. simply by averaging), and passing the aggregate through a very simple decision mechanism &#8211; e.g., a single-layer neural network with two output units which directly corresponds to a logistic regression model over the text embedding. Such models are typically trained in two phases: First the language model is &#8216;pre-trained&#8217; on a large amount of unlabeled text, then the decision layer is &#8216;fine-tuned&#8217; on a comparatively small amount of task-specific labeled text.</p>
<p>The final phase in the development of language models consists in the emergence of large language models (LLMs) which result from massive scaling up of the model training. The resulting LLMs are to a substantial degree task-agnostic (i.e., do not require fine-tuning) and can be instructed (&#8216;prompted&#8217;) directly to carry out some task (<xref ref-type="bibr" rid="B25">P. Liu et al. 2023</xref>). To solve a classification task, for example, models can be asked to answer &#8216;yes&#8217; or &#8216;no&#8217; similar to the way a human annotator would be instructed.</p>
<p>For the task we consider in this study &#8211; predicting the gender of a character in a drama based on (some part of) their utterances &#8211; both contextualized embedding models and LLMs are plausible candidates to develop classifiers. We decided to build our classifier on top of a contextualized embedding model. Such models are typically much smaller (and thus computation efficient), they are more transparent (the details of the training processes of almost all LLMs are confidential (<xref ref-type="bibr" rid="B23">Liesenfeld et al. 2023</xref>)), and prompt-based approaches face problems regarding robustness and bias (<xref ref-type="bibr" rid="B43">Webson and Pavlick 2022</xref>).</p>
</sec>
<sec id="S2.2">
<title>2.2 Design Decisions: Input Granularity and Aggregation</title>
<p>As outlined above, a central question that must be decided when presenting text to a LM for classification is the length of the input for which the model is supposed to make a single prediction, that is, the <italic>input granularity</italic>. Short inputs may consist of utterances which are not informative regarding the speaker&#8217;s gender. As for long inputs, older LM-based models have generally a limited input size (often 512 tokens)<xref ref-type="fn" rid="n1">1</xref> and while newer LLM-based models can deal with much longer inputs, they struggle with identifying the relevant information, in particular if it is in the middle of the text (<xref ref-type="bibr" rid="B24">N. F. Liu et al. 2024</xref>).</p>
<p><xref ref-type="fig" rid="F1">Figure 1</xref> shows a simplified view of the hierarchical structure of a character&#8217;s utterances in a drama: At the bottom we have individual utterances, which vary in length from single sentences to long monologues. Utterances can be grouped together at the scene level, and then again at the global character level. Models can be trained to make gender predictions at each of these levels (shown in blue and red, respectively), and predictions can vary in confidence (shown by saturation). Since we do not know a priori which of these levels works best, our experiment will evaluate models that have been trained at each of these three levels.</p>
<fig id="F1">
<caption>
<p><bold>Figure 1:</bold> Gender classification for a character at different levels of granularity (blue = masculine, red = feminine). Saturation indicates model confidence.</p>
</caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jcls-4-1-4055-g1.png"/>
</fig>
<p>If we choose to classify at a more fine-grained level (such as utterances), there is no guarantee that all utterances of one character are classified in the same way &#8211; in fact, given our assumption that at least some utterances are uninformative regarding gender, complete consistency would be surprising (utterances 2 vs. 3 in <xref ref-type="fig" rid="F1">Figure 1</xref>). Therefore, we also need to define an aggregation method to return a character-level response based on the concrete utterance- or scene-level predictions.<xref ref-type="fn" rid="n2">2</xref> We consider two aggregation strategies. The simple one is <italic>majority</italic> vote: We count the number of utterances (or scenes) predicted as male or female, respectively, and assign the more frequent gender. In <xref ref-type="fig" rid="F1">Figure 1</xref>, <xref ref-type="fig" rid="F3">3</xref> out of <xref ref-type="fig" rid="F4">4</xref> utterances are classified as male, which leads to an overall classification of the character as male. The second strategy makes use of the fact that LM-based models do not just output labels, but also probabilities. Assuming that more informative inputs are classified more confidently, taking these probabilities into account should give more weight to informative utterances. Formally, we use the <italic>geometric mean</italic> <inline-formula><mml:math id="Eq001-mml"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mtext mathvariant="italic">GM</mml:mtext></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mrow><mml:mi>g</mml:mi><mml:mo fence="false">&#x7C;</mml:mo><mml:mi>c</mml:mi></mml:mrow><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> of a gender <italic>g</italic> for a character <italic>c</italic> given the individual utterances <italic>u(c)</italic> for the character:</p>
<disp-formula id="FD1"><mml:math id="Eq002-mml"><mml:mrow><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mtext mathvariant="italic">GM</mml:mtext></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mrow><mml:mi>g</mml:mi><mml:mo fence="false">&#x7C;</mml:mo><mml:mi>c</mml:mi></mml:mrow><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mrow><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:munderover><mml:mo lspace="0em" movablelimits="false">&#x220F;</mml:mo><mml:mrow><mml:mrow><mml:mi>u</mml:mi><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>c</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mrow><mml:mo>&#x2208;</mml:mo><mml:mrow><mml:mtext mathvariant="italic">U</mml:mtext><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>c</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mrow></mml:mrow><mml:mi>x</mml:mi></mml:munderover><mml:mrow><mml:mi>p</mml:mi><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mrow><mml:mi>g</mml:mi><mml:mo fence="false">&#x7C;</mml:mo><mml:msub><mml:mi>i</mml:mi><mml:mi>c</mml:mi></mml:msub></mml:mrow><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mi>x</mml:mi></mml:mfrac></mml:msup><mml:mtext>&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;(1)</mml:mtext></mml:mrow></mml:math></disp-formula>
<p>In <xref ref-type="fig" rid="F1">Figure 1</xref>, utterance 1 is low probability male, utterances 2 and 4 are high probability male, and utterance 3 is low probability female, leading to a character-level aggregated classification of male.</p>
</sec>
<sec id="S2.3">
<title>2.3 Analyzing Neural Classifiers with Attribution Methods</title>
<p>The topic of making machine learning models explainable has seen considerable attention in recent years, from a variety of motivations (<xref ref-type="bibr" rid="B30">Riedl 2019</xref>). Two major families (<xref ref-type="bibr" rid="B29">Murdoch et al. 2019</xref>) are model-based approaches &#8211; which build on the inherent interpretability of small models &#8211; and post-hoc methods &#8211; which analyze previously trained models to explain their predictions. In turn, post-hoc methods can be grouped into global and local methods. Global methods analyze the entirety of a model&#8217;s predictions over some dataset, while local models explain individual predictions (<xref ref-type="bibr" rid="B3">Atanasova et al. 2020</xref>). In our study, we focus on local methods because we are interested in looking at individual predictions. A prominent local approach for the attention-based models ubiquitous in NLP is the analysis of attention weights; however, it has been shown that these models are not guaranteed to faithfully attribute the model&#8217;s prediction to its input features (<xref ref-type="bibr" rid="B20">Jain and Wallace 2019</xref>). Therefore, we adopt the so-called <italic>integrated gradient</italic> approach by Sundararajan et al. (<xref ref-type="bibr" rid="B38">2017</xref>). Applied to a binary classification task with classes A and B, this approach explains every prediction as a sum of weights (positive, i.e, supporting class A, or negative, i.e., supporting class B) over the input features. In our case, every word in the input text is assigned a weight that indicates how strongly it supports (or contradicts) the assignment of a particular gender to the text.</p>
<p><xref ref-type="fig" rid="F2">Figure 2</xref> shows some example sentences from a Calder&#243;n drama, where orange color indicates words that are typical for female speech and blue color for male speech. Again, saturation corresponds to the strength of the cue. Note that these attributions can combine morphological and semantic considerations: The most strongly female token, &#8220;desesperada&#8221; (<italic>desperate</italic>), is more likely to be uttered by a woman both due to its female suffix <italic>-a</italic>, and by topical association.</p>
<fig id="F2">
<caption>
<p><bold>Figure 2:</bold> Visualization of the attribution model: blue indicates male, orange female; saturation corresponds to strength of cue. Original passage (<italic>La vida es sue&#241;o</italic>, Rosaura, Act 1 Scene 1): <italic>Stay on this mountain, where the brutes have their Phaeton, and I, with no other path than the one given to me by the laws of destiny, blind and desperate, will lower my tangled head from this eminent mountain where the sun wrinkles the frown on my forehead.</italic></p>
</caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jcls-4-1-4055-g2.png"/>
</fig>
</sec>
<sec id="S2.4">
<title>2.4 Lexical Overfitting</title>
<p>A final complication in our use of explanation methods to mine a classifier for information about an author&#8217;s linguistic patterns is that the features presented to the classifier need to be <italic>informative</italic> for the research question. This is not guaranteed, since a classifier can base its decision on features that are uninteresting from a theoretical perspective. For example, person names are informative for gender classification since men and women interact more within their genders than across. At the same time, person names are arguably uninteresting with respect to gender portrayal. In Calder&#243;n&#8217;s tragedy <italic>Un castigo en tres venganzas</italic>, for example, only the main character Federico ever addresses the character Becoqu&#237;n &#8211; meaning when the token <italic>Becoqu&#237;n</italic> appears, it is with certainty spoken by the character Federico and thus a perfect cue for male gender. More generally, the problem is the Zipf distribution of natural language, as a consequence of which there is a large number of infrequent words that occur either only in male or in female speech and could therefore be identified by the classifier as highly informative for the respective class.</p>
<p>This can be seen as an instance of overfitting (<xref ref-type="bibr" rid="B47">Wolfe and Caliskan 2021</xref>). The problem is also well known in stylometry (<xref ref-type="bibr" rid="B12">Evert et al. 2017</xref>; <xref ref-type="bibr" rid="B35">&#352;e&#316;a et al. 2024</xref>). It is usually addressed by requiring words to meet certain frequency conditions, such as top-<italic>n</italic> words, mid-frequent words (<xref ref-type="bibr" rid="B7">Caliskan et al. 2022</xref>) or words that occur in a minimum number of documents. Another strategy is to mask particularly predictive tokens (<xref ref-type="bibr" rid="B39">Tang et al. 2022</xref>), thus making them unavailable to the classifier and forcing it to focus on more general cues.</p>
</sec>
</sec>
<sec id="S3">
<title>3. Experimental Setup</title>
<p>To recapitulate, we structure our study into two experiments. In the first experiment (<xref ref-type="sec" rid="S4.1">subsection 4.1</xref>), we aim to see if a language model can generally predict the gender of a character given different amounts of speech and different attribution methods. This experiments adopts a two-factor design. The first factor we vary is the input length, and the second one is the aggregation strategy.</p>
<p>The three input levels are 1) character level, in which we consider all the lines that a character speaks throughout the course of a play as one data-point, 2) scene level, in which we consider all of these lines, but divided by the scene barriers so that each scene is predicted separately, and 3) utterance level, in which we consider only unique lines (or utterances) spoken by a character. The aggregation strategies are: 1) none, 2) majority label, and 3) geometric mean, as discussed in <xref ref-type="sec" rid="S2">section 2</xref>. This experiment targets the maximum number of characters from Calder&#243;n&#8217;s plays for whom we can obtain reliable digitized text (see below for details).</p>
<p>The second experiment (<xref ref-type="sec" rid="S4.2">subsection 4.2</xref>) focuses specifically on cross-dressing characters, who exhibit a broad range of social roles in Calder&#243;ns plays. In his own words, spoken by Rosaura in <italic>La vida es sue&#241;o</italic>:</p>
<disp-quote>
<p>Tres veces son las que ya / me admiras, tres las que ignoras / qui&#233;n soy, pues las tres me has visto / en diverso traje y forma. / La primera me cre&#237;ste / var&#243;n, en la rigurosa / prisi&#243;n, donde fue tu vida / de mis desdichas lisonja./ La segunda me admiraste / mujer, cuando fue la pompa / de tu majestad un sue&#241;o,/ una fantasma, una sombra./ La tercera es hoy, que siendo / monstruo de una especie y otra,/ entre galas de mujer / armas de var&#243;n me adornan.</p>
<p>Three times you have / admired me, three times you do not know / who I am, for three times you have seen me / in different costume and form./ The first time you believed me to be / a man, in the rigorous / prison, where your life was / a flattery of my misfortunes./ The second you admired me / woman, when the pomp / of your majesty was a dream,/ a phantom, a shadow./ The third is today, that being/ a monster of one kind and another,/ among the finery of a woman,/ the weapons of a man adorn me.</p>
</disp-quote>
<p>Investigating specifically these characters tells us to what extent the model potentially only picks up &#8216;prototypical&#8217; scenes of characters, and to what extent it is able to pick up more fine-grained change of roles across scenes within characters.</p>
<p><bold>Data.</bold> We base our study on all 109 of Calder&#243;n&#8217;s plays that have previously been classified as non-religious plays of various genres, jointly known as &#8216;<italic>comedias</italic>&#8217;, which are available in the CalDraCor part of the DraCor project (<xref ref-type="bibr" rid="B15">Fischer et al. 2019</xref>).<xref ref-type="fn" rid="n3">3</xref> These are orthographically modernized and normalized digital versions of the plays in XML-TEI format. DraCor segments texts by utterances in the style of classical play scripts, with lines labeled with the speaker. The plays are already annotated by act number but lack formal scene division. We enrich all plays with scene divisions, determined by stage directions that indicate a character leaving or entering the stage, to obtain a more fine-grained segmentation.</p>
<p>In the cast list of each play, all characters are annotated with role information, including &#8216;male&#8217; and &#8216;female&#8217; labels. These annotations are based on examination of the texts done by literary scholars as part of the DraCor project. Note that the intention of this paper is not to perpetuate the idea of a gender binary, nor to make assertions about gender identity.</p>
<p>In order to define a simple binary classification task, we leave out a small number of characters who do not have a defined gender in the corpus, typically collectives (such as &#8220;musicos&#8221; or &#8220;coro&#8221; (<italic>musicians, choir</italic>). After also removing minor characters who speak less than 30 words &#8211; presumably not enough for reliable classification &#8211; we are left with a total of 1,515 characters (1,021 = Male, 494 = Female): We have roughly a 2:1 male/female character ratio. Males speak a mean of 1,219 tokens (min = 31, max = 7,166) and females on average 1,130 tokens (min = 32, max = 5,388). On this basis, we assume that text length is not a major confounding variable for the male/female distinction.</p>
<p>We create an 80%/10%/10% train/test/validation split at the character level, ensuring that each character occurs only in one of the partitions (1,207/152/152 characters). Since we only provide the character speech to the classifier, this means that the test and validation partitions are unseen.</p>
<p><bold>Preprocessing.</bold> To avoid the lexical overfitting problem discussed above, we mask all names of characters that appear in the plays (751 unique names) with the token &#8216;[NAME]&#8217;. We also mask all tokens that appeared in only one play with a &#8216;[MASK]&#8217; token. We also considered removing signals of grammatical gender such as self-predications of the speaker with gender-specific nouns or gendered suffixes (such as &#8220;desesperada&#8221; above). However, automating such a filter would require substantial linguistic analysis to recognize which predications apply to the speaker themselves, arguably a non-trivial process that runs the risk of introducing inconsistencies. Also, these cases appear sufficiently rarely in the corpus to not have a major effect, as we demonstrate below.</p>
<p><bold>Model Implementation.</bold> Following the argument from the previous section, we build our classifiers by fine-tuning a pre-trained Language Model on our drama data. We tested the model performance on a series of multilingual BERT, DistilBERT, and RoBERTa models. We found the best performance for the classification task was achieved when using BETO (<xref ref-type="bibr" rid="B8">Ca&#241;ete et al. 2020</xref>), a BERT base model pre-trained on Spanish data, namely 3B token from Spanish Wiki, Europarl, and other corpora. We adopt this LM for our experiments. It provides a suitable basis given that the dramas we work with are modernized and normalized.</p>
<p>Note that BETO, like all BERT-style models, carries out internal tokenization using a variant of byte pair encoding (<xref ref-type="bibr" rid="B36">Sennrich et al. 2016</xref>). This method has the goal of limiting the vocabulary of tokens in text. Its consequence is that frequent words tend to remain separate tokens, while infrequent words are split into subword units, minimally individual characters. By convention, subword tokens that start inside original words are prefixed with &#8216;##&#8217; (<xref ref-type="fig" rid="F2">Figure 2</xref>). Also, BETO has a maximum context window size of 512 tokens, meaning that for longer texts, only the first 512 tokens are taken into account in any processing. This amount of text is generally sufficient for the model to make predictions. Details on model training can be found in <xref ref-type="sec" rid="SA.1">subsection A.1</xref>.</p>
<p><bold>Evaluation Design and Metrics.</bold> We evaluate both the individual predictions and the aggregated predictions for characters quantitatively with precision, recall, and F1 score, macro-averaged between the &#8216;male&#8217; and &#8216;female&#8217; classes. We use macro averaging because, while the male class is over-represented compared to the female class, we are equally interested in male and female predictions.</p>
<p>For the qualitative evaluation, we use a library that provides an implementation of the integrated gradients approach (Transformers Interpret Sequence Classification Explainer).<xref ref-type="fn" rid="n4">4</xref> It yields the contribution of each token towards the overall class prediction of each test input sequence.</p>
<p><bold>Baseline.</bold> As a baseline model, we compare our LM to the case of always assigning the most frequent class (male). This baseline can be applied at the different input levels. For example, at the character level, where we have 76% male characters, it achieves a 0.76 F1 score for male characters (R=1, P=0.67) but a 0 F1 score on female characters (R=0, P=undef.). This results in a macro F1 of 0.38.</p>
</sec>
<sec id="S4">
<title>4. Results</title>
<sec id="S4.1">
<title>4.1 Experiment 1: General Gender Classification</title>
<p><bold>Impact of Input Levels.</bold> <xref ref-type="table" rid="T1">Table 1</xref> shows the main results for gender classification at the three input levels without any aggregation. The model performs best at the character level (F1 = 0.83), followed by the scene (F1 = 0.70) and utterance (F1 = 0.68) levels. This is not very surprising, given that the character level provides the model with the longest, and thus most informative, input texts. It is interesting, though, that the performance of the model drops by 15 points F1 score between the character and the utterance level while there is hardly any difference between the scene level and the utterance level. The baseline results change hardly between levels, indicating that this effect does not reflect a change in the difficulty of the task. We therefore draw as our first conclusion that reliable gender identification requires more information than is typically available from a single utterance or even scene.</p>
<table-wrap id="T1">
<caption>
<p><bold>Table 1:</bold> Experiment 1: Macro-averaged precision, recall and F1 for gender at different input levels, evaluated on individual predictions. Baseline = most frequent class. Best results for each measure in boldface.</p>
</caption>
<table>
<tbody>
<tr>
<td align="left" valign="top"></td>
<td align="center" valign="top" colspan="3">Baseline</td>
<td align="center" valign="top" colspan="3">Model Results</td>
</tr>
<tr>
<td align="left" valign="top">Input level <inline-formula><mml:math id="Eq003-mml" alttext="\downarrow"><mml:mo stretchy='false'>&#8595;</mml:mo></mml:math></inline-formula></td>
<td align="center" valign="top">Precision</td>
<td align="center" valign="top">Recall</td>
<td align="center" valign="top">F1</td>
<td align="center" valign="top">Precision</td>
<td align="center" valign="top">Recall</td>
<td align="center" valign="top">F1</td>
</tr>
<tr>
<td align="left" valign="top">Character per drama</td>
<td align="center" valign="top">0.33</td>
<td align="center" valign="top">0.50</td>
<td align="center" valign="top">0.38</td>
<td align="center" valign="top"><bold>0.83</bold></td>
<td align="center" valign="top"><bold>0.82</bold></td>
<td align="center" valign="top"><bold>0.83</bold></td>
</tr>
<tr>
<td align="left" valign="top">Character per scene</td>
<td align="center" valign="top">0.33</td>
<td align="center" valign="top">0.50</td>
<td align="center" valign="top">0.40</td>
<td align="center" valign="top">0.75</td>
<td align="center" valign="top">0.69</td>
<td align="center" valign="top">0.70</td>
</tr>
<tr>
<td align="left" valign="top">Character utterance</td>
<td align="center" valign="top">0.34</td>
<td align="center" valign="top">0.50</td>
<td align="center" valign="top">0.41</td>
<td align="center" valign="top">0.71</td>
<td align="center" valign="top">0.67</td>
<td align="center" valign="top">0.68</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>To explore the failure modes, <xref ref-type="table" rid="T2">Table 2</xref> shows F1 scores for our gender classifiers at the scene and utterance levels. We split these numbers into four quartiles of characters in terms of numbers of words spoken. The results again demonstrate a clear improvement for longer texts of 15-20 points F1 score between the first and the forth quartile. Evidently, many short utterances are not informative enough to permit reliable gender determination of the speaker.</p>
<table-wrap id="T2">
<caption>
<p><bold>Table 2:</bold> F1 for test set characters divided into quartiles by number of words spoken.</p>
</caption>
<table>
<tbody>
<tr>
<td align="left" valign="top"></td>
<td align="center" valign="top">Q1</td>
<td align="center" valign="top">Q2</td>
<td align="center" valign="top">Q3</td>
<td align="center" valign="top">Q4</td>
</tr>
<tr>
<td align="left" valign="top">length</td>
<td align="center" valign="top">4-20</td>
<td align="center" valign="top">21-50</td>
<td align="center" valign="top">51-121</td>
<td align="center" valign="top">122-512</td>
</tr>
<tr>
<td align="left" valign="top">F1 for character per scene</td>
<td align="center" valign="top">0.62</td>
<td align="center" valign="top">0.64</td>
<td align="center" valign="top">0.73</td>
<td align="center" valign="top">0.82</td>
</tr>
<tr>
<td align="left" valign="top">length</td>
<td align="center" valign="top">2-9</td>
<td align="center" valign="top">10-14</td>
<td align="center" valign="top">14-26</td>
<td align="center" valign="top">27-512</td>
</tr>
<tr>
<td align="left" valign="top">F1 for character utterance</td>
<td align="center" valign="top">0.63</td>
<td align="center" valign="top">0.65</td>
<td align="center" valign="top">0.69</td>
<td align="center" valign="top">0.78</td>
</tr>
</tbody>
</table>
</table-wrap>
<p><bold>Impact of Aggregation Method.</bold> Next, <xref ref-type="table" rid="T3">Table 3</xref> presents the performance of the models when classification is first carried out at the utterance or scene level and then aggregated to the character level. The numbers in <xref ref-type="table" rid="T3">Table 3</xref> are comparable to the &#8216;Character per drama&#8217; row of <xref ref-type="table" rid="T1">Table 1</xref>.</p>
<table-wrap id="T3">
<caption>
<p><bold>Table 3:</bold> Experiment 1: Model performance when gender is predicted at the utterance or scene level and then aggregated to the character level, either with majority vote or with geometric mean.</p>
</caption>
<table>
<tbody>
<tr>
<td align="left" valign="top">Aggregation <inline-formula><mml:math id="Eq004-mml" alttext="\rightarrow"><mml:mo stretchy='false'>&#8594;</mml:mo></mml:math></inline-formula></td>
<td align="center" valign="top" colspan="3">Majority label</td>
<td align="center" valign="top" colspan="3">Geometric mean</td>
</tr>
<tr>
<td align="left" valign="top">Input level <inline-formula><mml:math id="Eq005-mml" alttext="\downarrow"><mml:mo stretchy='false'>&#8595;</mml:mo></mml:math></inline-formula></td>
<td align="center" valign="top">Precision</td>
<td align="center" valign="top">Recall</td>
<td align="center" valign="top">F1</td>
<td align="center" valign="top">Precision</td>
<td align="center" valign="top">Recall</td>
<td align="center" valign="top">F1</td>
</tr>
<tr>
<td align="left" valign="top">Character per scene</td>
<td align="center" valign="top">0.51</td>
<td align="center" valign="top">0.51</td>
<td align="center" valign="top">0.49</td>
<td align="center" valign="top"><bold>0.81</bold></td>
<td align="center" valign="top"><bold>0.81</bold></td>
<td align="center" valign="top"><bold>0.81</bold></td>
</tr>
<tr>
<td align="left" valign="top">Character utterance</td>
<td align="center" valign="top">0.33</td>
<td align="center" valign="top">0.31</td>
<td align="center" valign="top">0.32</td>
<td align="center" valign="top">0.75</td>
<td align="center" valign="top">0.79</td>
<td align="center" valign="top">0.76</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Comparing the two aggregation methods, we observe that the majority vote performs rather badly, leading to a substantial loss in performance compared to the predictions without aggregation in <xref ref-type="table" rid="T1">Table 1</xref>. In contrast, the combination by geometric mean performs well, and aggregated predictions at the scene level almost reach the performance of the model that considers the complete text of a character.</p>
<p>This pattern meshes well with our interpretation above: When we use the probability estimates of the model, uninformative utterances have less impact on the overall prediction, and performance improves. All in all, we believe that the <italic>aggregated scene-level model</italic> is the most interesting among the ones we consider, since it is almost as good as the character-level model when predictions at the character level are evaluated, but also provides a separate prediction for each character in each scene, making it possible to pick up changes in gender roles over the course of a play &#8211; exactly the phenomenon that we are going to investigate below in Experiment 2 (<xref ref-type="sec" rid="S4.2">subsection 4.2</xref>). Thus, our second analysis yields a somewhat more nuanced picture: Gender classification requires a fair amount of text, but the effect can be mitigated by informed aggregation.</p>
<p><bold>Predictions for Male vs. Female Characters.</bold> <xref ref-type="table" rid="T4">Table 4</xref> shows the results of the non-baseline models broken down by gender; best results for each metric and each gender are boldfaced. The results for male characters are generally better than for female characters, which is expected, given the higher number of male characters. That said, there is a striking difference in the effect of the aggregation strategy between genders: While results for male characters show only a rather small change of 5 points between the character and utterance levels, results for female drastically improve at the higher input levels (+.4 at the scene level and +16 at the drama level). When taking into account just the majority label for each character, the performance drops, especially for the female characters, at both the scene and utterance levels. When calculating the geometric mean, the performance at the scene and utterance level for both male and female characters increases again, in particular for female characters. Again, this goes well with our general observation that some sentences are highly gendered while others are uninformative as far as the model is concerned. Thus, the geometric mean-based aggregation can be seen as a strategy to reduce gender bias, according to its definition as performance difference between genders (<xref ref-type="bibr" rid="B31">Rudinger et al. 2018</xref>).</p>
<table-wrap id="T4">
<caption>
<p><bold>Table 4:</bold> Model F1-Scores comparing performance on predictions of male and female characters.</p>
</caption>
<table>
<tbody>
<tr>
<td align="left" valign="top">Aggregation <inline-formula><mml:math id="Eq006-mml" alttext="\rightarrow"><mml:mo stretchy='false'>&#8594;</mml:mo></mml:math></inline-formula></td>
<td align="center" valign="top" colspan="2">None</td>
<td align="center" valign="top" colspan="2">Majority Label</td>
<td align="center" valign="top" colspan="2">Geometric Mean</td>
</tr>
<tr>
<td align="left" valign="top">Input Level <inline-formula><mml:math id="Eq007-mml" alttext="\downarrow"><mml:mo stretchy='false'>&#8595;</mml:mo></mml:math></inline-formula></td>
<td align="center" valign="top">Male</td>
<td align="center" valign="top">Female</td>
<td align="center" valign="top">Male</td>
<td align="center" valign="top">Female</td>
<td align="center" valign="top">Male</td>
<td align="center" valign="top">Female</td>
</tr>
<tr>
<td align="left" valign="top">Character per drama</td>
<td align="center" valign="top"><bold>0.87</bold></td>
<td align="center" valign="top">0.70</td>
<td align="center" valign="top">-</td>
<td align="center" valign="top">-</td>
<td align="center" valign="top">-</td>
<td align="center" valign="top">-</td>
</tr>
<tr>
<td align="left" valign="top">Character per scene</td>
<td align="center" valign="top">0.83</td>
<td align="center" valign="top">0.58</td>
<td align="center" valign="top"><bold>0.72</bold></td>
<td align="center" valign="top">0.25</td>
<td align="center" valign="top"><bold>0.87</bold></td>
<td align="center" valign="top">0.74</td>
</tr>
<tr>
<td align="left" valign="top">Character utterance</td>
<td align="center" valign="top">0.82</td>
<td align="center" valign="top">0.54</td>
<td align="center" valign="top">0.51</td>
<td align="center" valign="top">0.12</td>
<td align="center" valign="top">0.82</td>
<td align="center" valign="top">0.71</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>To further validate this interpretation, we examined both the 10 correct and 10 incorrect characters with the highest confidence according to the model. We initially assumed that the gender annotations found in the DraCor corpus were gold standard. However, through this examination we identified several annotation mistakes in the corpus. Among the 10 most confident &#8216;incorrect&#8217; male predictions, were two female characters incorrectly annotated as male (<italic>Palas</italic> and <italic>Glauca</italic>). Likewise, among the 10 most confident &#8216;incorrect&#8217; female annotations, we found an erroneously annotated character (<italic>Sim&#243;n</italic>).</p>
<p><bold>Attribution Model.</bold> From the quantitative model evaluation, it is clear that the model is able to predict the gender of characters in Calder&#243;n&#8217;s plays and even identify some annotation mistakes. However, it is not clear yet to what extent the model drew on features of the input that actually have to do with gender portrayal, despite our efforts to remove confounder features (see the discussion on lexical overfitting in <xref ref-type="sec" rid="S2">section 2</xref>). By using an attribution model, we now analyze concretely on the basis of which tokens the model makes its classification decisions. In the following analysis, we list BETO tokens together with their integrated gradient scores, where negative scores indicate a tendency towards female speech, and positive scores a tendency towards male speech. Tokens with values closer to 0 are gender neutral, according to the model.</p>
<p>In order to determine if there were clear themes in the tokens that the model judged as being more masculine or more feminine, we first examined the averaged attribution score of each token, calculated as the average attribution score of the token over all sentences in the validation set in which it occurs. <xref ref-type="table" rid="T5">Table 5</xref> lists the 20 tokens deemed to be the most feminine and masculine, respectively.<xref ref-type="fn" rid="n5">5</xref></p>
<table-wrap id="T5">
<caption>
<p><bold>Table 5:</bold> This table contains the 20 most polarized token attributions, as calculated by the character-level model. <italic>n</italic> is tokens frequency in the test corpus.</p>
</caption>
<table>
<tbody>
<tr>
<td align="right" valign="top">Most masculine tokens</td>
<td align="center" valign="top">n</td>
<td align="right" valign="top">Most feminine tokens</td>
<td align="center" valign="top">n</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;nosotras&#8221;, 0.7763)</td>
<td align="center" valign="top">2</td>
<td align="right" valign="top">(&#8220;ton&#8221;, -0.8746)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;##jote&#8221;, 0.6984)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8220;cansada&#8221; -0.8000)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;Duque&#8221;, 0.6460)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8220;Ami&#8221;, -0.6729)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;Emperador&#8221;, 0.6105)</td>
<td align="center" valign="top">2</td>
<td align="right" valign="top">(&#8220;p&#250;blico&#8221;, -0.6722)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;Majestad&#8221;, 0.6073)</td>
<td align="center" valign="top">3</td>
<td align="right" valign="top">(&#8220;desesperada&#8221;, -0.6178)</td>
<td align="center" valign="top">2</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;escu&#8221;, 0.6008)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8220;contenta&#8221;, -0.5764)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;tropas&#8221;, 0.5860)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8220;Todas&#8221;, -0.4795)</td>
<td align="center" valign="top">16</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;infanter&#237;a&#8221;, 0.5839)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8220;esperar&#233;&#8221;, -0.4431)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;##estre&#8221;, 0.5824)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8220;beso&#8221;, -0.4076)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;encerrado&#8221;, 0.5733)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8220;minuto&#8221;, -0.3882)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;Al&#225;&#8221;, 0.5613)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8220;amigas&#8221;, -0.3841)</td>
<td align="center" valign="top">2</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;Gobernador&#8221;, 0.5448)</td>
<td align="center" valign="top">2</td>
<td align="right" valign="top">(&#8220;damas&#8221;, -0.3609)</td>
<td align="center" valign="top">4</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;Nevada&#8221;, 0.5178)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8220;##&#237;simas&#8221;, -0.3163)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;Fur&#8221;, 0.5095)</td>
<td align="center" valign="top">5</td>
<td align="right" valign="top">(&#8220;Dis&#8221;, -0.3154)</td>
<td align="center" valign="top">2</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;camarada&#8221;, 0.5076)</td>
<td align="center" valign="top">2</td>
<td align="right" valign="top">(&#8220;##acas&#8221;, -0.3066)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;alojamiento&#8221;, 0.4962)</td>
<td align="center" valign="top">3</td>
<td align="right" valign="top">(&#8220;discursos&#8221;, -0.2966)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;Fox&#8221;, 0.4954)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8220;##m&#243;n&#8221;, -0.2954)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;soldado&#8221;, 0.4922)</td>
<td align="center" valign="top">2</td>
<td align="right" valign="top">(&#8220;cuerpo&#8221;, -0.2901)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;torneo&#8221;, 0.4919)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8220;comedia&#8221;, -0.2895)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8220;criados&#8221;, 0.4915)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8220;celosa&#8221;, -0.2844)</td>
<td align="center" valign="top">1</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>We see several patterns in the attribution scores. Included in the most feminine tokens are several word endings or words with feminine endings (<italic>cansada, desesperada, contenta, celosa, todas, ##&#237;simas, ##acas</italic>). These morphologically grounded indicators of female characters indicate that in Calder&#243;n&#8217;s plays, female characters either refer to themselves or other women frequently. At the semantic level, we see that some of the most feminine words have some semantic connection to interpersonal relationships between characters (<italic>amigas, beso, discursos, cuerpo, celosa</italic>). This indicates that, broadly throughout Calder&#243;n&#8217;s works, female characters are more likely to discuss themes of love and relationships than male characters. Others among these words (<italic>cansada, desesperada, contenta, celosa</italic>) also demonstrate a depiction of women as emotional &#8211; the women in these plays are on the one hand able to discuss their emotional inner worlds, but on the other hand depicted as driven or controlled by their emotions (<xref ref-type="bibr" rid="B11">Drouet 2017</xref>).</p>
<p>This finding ties in with the results in &#352;e&#316;a et al. (<xref ref-type="bibr" rid="B35">2024</xref>), who show that female characters across different languages and time periods are more likely to reference their emotions than male characters. Here we can see that Calder&#243;n&#8217;s work somewhat conforms to these norms, but we will later see some evidence of the subversion of this trope in <xref ref-type="sec" rid="S4.2">subsection 4.2</xref>.</p>
<p>The male list contains several titles (<italic>Majestad, Emperador, Duque, Gobernador</italic>), which indicates the same pattern of more within-gender than across-gender interactions for male characters. Furthermore, these words indicate the importance of status in male-male interactions, arguably closely related to the topic of honor which was established as important across many works by Calderonian scholarship.<xref ref-type="fn" rid="n6">6</xref> Corresponding to the female indicators for conversations about relationships, the male list shows several words semantically related to combat (<italic>tropas, infanter&#237;a, torneo, soldado</italic>), apparently the prototypical male topic. As previously mentioned, honor is of primary importance in Calder&#243;n&#8217;s works. In addition to the fact that war is a typically male endeavor, in the <italic>siglo de oro</italic>, male characters frequently use violence as a means to gain or restore honor (<xref ref-type="bibr" rid="B19">Honig 1972</xref>). It is therefore unsurprising that these themes feature prominently as &#8216;masculine&#8217; words.</p>
<p>Curiously, <italic>nosotras</italic> is the token most attributed as male, however, it is not spoken by a male character in the corpus. It appears in the validation set 8 times, and of the 8 characters who do speak this token, 7 of them are correctly classified as female characters. Upon further investigation, it was found that <italic>nosotras</italic> appears in the training corpus, spoken by a female character that is mislabeled as male. Its listing as a female token is therefore the result of an annotation mistake, beyond the scope of our current study.</p>
<p>We also analyzed a list of top-40 male and female tokens with regard to their morphosyntactic properties, given that word classes or word types can also be used for stylistic gender portrayal (<xref ref-type="bibr" rid="B7">Caliskan et al. 2022</xref>). We found that the most female tokens included significantly more word fragments (15), compared to the male tokens (10). Conversely, the male tokens included more nouns (24) compared to the female tokens (14). The female tokens also included slightly more adjectives (5) compared to male (3). Both used an equal number of verbs. In conclusion, there do not appear to be major differences at the level of word classes &#8211; if anything, female characters tend to use less frequent words that tend to get split up into subword tokens.</p>
<p>Overall, this inspection of the features indicates that Calder&#243;n&#8217;s gender portrayal &#8211; within the space of features considered by the model &#8211; has two main components: (a) at the interaction level, women and men both prefer interlocutors of the same gender; (b) at the content level, women are more concerned with the domestic sphere and men the military sphere. There do not seem to be major formal linguistic differences between the two genders.</p>
<p>Note that we only inspected the top tokens associated with either gender, and therefore this analysis cannot make any strong claim as to completeness. It is indeed likely that other topics arise from a further analysis of such tokens. Furthermore, the masking procedure we carried out during processing can be repeated after this type of analysis: If, for example, the analyst decides that tokens indicating patterns of interaction are not interesting in terms of gender portrayal, these tokens can be masked, and the model training repeated. The result is a model which should have the &#8216;next best&#8217; set of features among its top-ranking gender cues.</p>
</sec>
<sec id="S4.2">
<title>4.2 Experiment 2: Cross-Dressed Characters</title>
<p>Cross-dressing characters are characters that adopt some traits of another gender during some scenes, dressing and speaking as a member of another gender. Such characters are a particularly interesting use case for our classifier-based gender portrayal method.</p>
<p>We obtained a list of five cross-dressing characters in four of Calder&#243;n&#8217;s plays, listed in <xref ref-type="table" rid="T6">Table 6</xref>, from the <italic>Role Call</italic> database.<xref ref-type="fn" rid="n7">7</xref> Since we are not aware of other sources for instances of cross-dressing in Calder&#243;n&#8217;s work, we treat this list as ground truth, although the possibility remains that the list is not exhaustive. All five characters are female characters cross-dressing as men: Rosaura, Eugenia, Sem&#237;ramis, Claridiana, and Lindabridis. Each of these female characters subvert traditional roles by embodying manly traits such as intellectual aspirations, interest in war and hunting, physical strength, and resistance to marriage (<xref ref-type="bibr" rid="B1">Araico 2017</xref>). Information about in which scenes the characters are cross-dressing are taken both from the Role Call database and from looking at stage directions. Unfortunately, there are many inconsistencies, and the cross-dressing is not always explicitly stated in the stage directions. In the cases where the stage direction indicates cross-dressing, we use this information, otherwise we revert to the Role Call list.</p>
<table-wrap id="T6">
<caption>
<p><bold>Table 6:</bold> Cross-dressing Characters.</p>
</caption>
<table>
<tbody>
<tr>
<td align="left" valign="top">Character</td>
<td align="left" valign="top">Gender</td>
<td align="left" valign="top">Play</td>
<td align="center" valign="top">Words Spoken</td>
</tr>
<tr>
<td align="left" valign="top">Rosaura</td>
<td align="left" valign="top">Female</td>
<td align="left" valign="top">La vida es sue&#241;o</td>
<td align="center" valign="top">3,479</td>
</tr>
<tr>
<td align="left" valign="top">Eugenia</td>
<td align="left" valign="top">Female</td>
<td align="left" valign="top">El Jos&#233; de las mujeres</td>
<td align="center" valign="top">3,360</td>
</tr>
<tr>
<td align="left" valign="top">Lindabridis</td>
<td align="left" valign="top">Female</td>
<td align="left" valign="top">El castillo de Lindabridis</td>
<td align="center" valign="top">2,842</td>
</tr>
<tr>
<td align="left" valign="top">Sem&#237;ramis</td>
<td align="left" valign="top">Female</td>
<td align="left" valign="top">La hija del aire II</td>
<td align="center" valign="top">4,997</td>
</tr>
<tr>
<td align="left" valign="top">Claridiana</td>
<td align="left" valign="top">Female</td>
<td align="left" valign="top">El castillo de Lindabridis</td>
<td align="center" valign="top">3,332</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>For the ecological validity of this experiment, we ensure that all cross-dressing characters are part of the validation set &#8211; that is, the gender classification model is not trained on any cross-dressing characters. As motivated above, we use our trained model that aggregates predictions at the scene level. We do not carry out any specific prediction for these characters, but simply analyze the predictions of the model, as in Experiment 1, but now at the level of specific characters. We structure our analysis along two hypotheses.</p>
<p><bold>Hypothesis 1: Lower Confidence for Cross-Dressers.</bold> If the model picks up on gender differences used strategically by Calder&#243;n, the predictions for the cross-dressing characters should be less confident about their gender than for other characters. <xref ref-type="fig" rid="F3">Figure 3</xref> shows the model&#8217;s overall confidence at the character level for all female characters from the four relevant dramas (<xref ref-type="table" rid="T6">Table 6</xref>), with the five cross-dressers marked by green boxes. Compared to other female characters that speak the same number of words, the model predicted cross-dressing characters to be female with less confidence (mean = 0.78 compared to mean = 0.89). Only four female characters are predicted with comparably low confidence (Clariana, Leonor, Celia, and Aurora), all speaking comparatively little. This pattern makes sense, given that cross-dressing characters mix female-like and male-like speech, providing conflicting evidence to the model.</p>
<fig id="F3">
<caption>
<p><bold>Figure 3:</bold> Experiment 2: Probability that the character is predicted as female (prediction made at our first input level, all lines) for all female characters speaking more than 2000 words (green dot = predicted as female, red dot = predicted as male, green box = cross-dressing). Note: The highlighted instance of Sem&#237;ramis is from la <italic>Hija del Aire II</italic>.</p>
</caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jcls-4-1-4055-g3.png"/>
</fig>
<p>Additionally, the model struggles with the overall classification of the cross-dressed characters more than with non-cross dressing ones (the accuracy is 4/5=0.80 compared to 19/23 =0.83). Again, this is expected, given that we would expect a data-driven model to classify a cross-dressing character either way, depending on the extent of their cross-dressing. Indeed, the &#8216;misclassified&#8217; character is Claridiana, who cross-dresses in the whole play (see below).</p>
<p><bold>Hypothesis 2: Scene-By-Scene Predictions.</bold> If the model does a good job of picking up gender cues in a fine-grained manner, it should be able to tell in which scene a character is cross-dressed. We test this hypothesis on the four relevant dramas, and <xref ref-type="fig" rid="F4">Figure 4</xref> shows the results: The cross-dressing scenes (according to the Role Call database, and in some cases identified by us in the few instances where stage directions indicate cross-dressing) are shown by a blue shading, and the model predictions are indicated on the y axis: the probability that a character was predicted to be female. Along the x axis are all the scenes in which a character speaks (ex. 1:2 on the axis represents Act 1, Scene 2). We find that, with a proportion higher than chance, cross-dressing characters were predicted as male for the scenes in which they were cross-dressing &#8211; the model is able to pick up on instances in which these female characters are behaving in a stereotypically masculine fashion.</p>
<fig id="F4">
<caption>
<p><bold>Figure 4:</bold> Experiment 2: Analysis of cross-dressing characters by scene. Cross-dressing scenes are indicated by blue bars. y axis represents the probability that the character will be predicted as female.</p>
</caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jcls-4-1-4055-g4.png"/>
</fig>
<p>The drama <italic>La hija del aire II</italic> focuses heavily on themes of governance and war as well as the mythical figure Sem&#237;ramis, the queen of Asiria. Sem&#237;ramis is described as being competent, a brave warlord, cruel and treacherous, but also evoking feminine sensuality. In the act three, after the death of her son, Sem&#237;ramis disguises herself as her son in order to assume his place on the throne. In all of the scenes that Sem&#237;ramis dresses as her son, the model predicts her as male, whereas through the rest of the play the model mostly predicts her as female.</p>
<p>In the story of <italic>El Castillo de Lindabridis</italic>, Lindabridis is a princess who travels the world in a flying castle looking for a husband. In this work, Claridiana is a female character who disguises as a male throughout the play in order to win the hand of Lindabridis. Claridiana engages in the trials of courage and combat required to marry Lindabridis. Claridiana is predicted by the model to be male in 14 out of 21 scenes in which she occurs. Lindabridis also disguises herself as a man in the third act of the play and in 6 out of 11 scenes of the third act she is predicted as male.</p>
<p>Finally, the model does a good job in <italic>La vida es sue&#241;o</italic>, in which Rosaura disguises herself as a man in the first act of the play in an attempt to seek revenge on a man who took her honor. The cross-dressing is clearly picked up by the model because she is predicted as male in the majority of the first act (4/5 scenes) and mostly as female in the rest of the acts (8/11 scenes).</p>
<p>From these cases, we can see that not only is the the model able to predict the gender of characters with high accuracy, it is also able to detect specific scenes where female characters are cross-dressing. Therefore, we can see that the social context of the characters has a large influence on the predictions of the model. Still, a more fine-grained analysis of the individual plays would help contextualize the model&#8217;s mispredictions at the scene level.</p>
<p>In any case, the model is still able to predict many of these cross-dressing characters as women, but with lower confidence, indicating the complexity of the characters &#8211; they are women and embody traditional female traits, while using cross-dressing as a means to transcend their social role as women and accomplish tasks in the public social sphere, wield power, and take agency of their own stories (<xref ref-type="bibr" rid="B48">Woods 2013</xref>).</p>
</sec>
</sec>
<sec id="S5">
<title>5. Discussion and Conclusions</title>
<p>In this paper, we have taken a first step towards a &#8216;scalable reading&#8217; investigation of gender depiction on a large corpus of <italic>comedias</italic> written by Calder&#243;n de la Barca. We make our implementation publicly available (see <xref ref-type="sec" rid="S7">section 7</xref>). We have proposed an analysis procedure where we train a gender classifier on the text (or parts of it) spoken by each character as an aggregation method. We then decompose the classifier&#8217;s predictions using an attribution method to critically assess the features that the classifier bases its predictions on. Since many attribution methods, including the integrated gradients we use here, are provably correct, this procedure can avoid the use of heuristic methods to identify keywords or topics, such as measures of association or keyness (<xref ref-type="bibr" rid="B34">Schr&#246;ter et al. 2021</xref>; <xref ref-type="bibr" rid="B35">&#352;e&#316;a et al. 2024</xref>) or topic modeling (<xref ref-type="bibr" rid="B42">Wallach et al. 2009</xref>). Our method, nevertheless, keeps the domain expert at center stage and lets them determine the interpretation of the predictions and attributions presented.</p>
<p>The contributions for computational linguistics lie at the methodological level, in better understanding what properties of the setup are important for the success of the method. We investigate the best level at which to present the speech to the classifier and find that presenting a person&#8217;s complete speech at once leads to robust results, but that classifying individual sentences and aggregating the results by probability does not only yield an improvement in overall accuracy, but also makes the predictions more accurate for the smaller gender category (female). Despite their hunger for data, the models also perform reasonably well when asked to classify character speech from single scenes, allowing us to trace the plot in dramas involving cross-dressing characters.</p>
<p>The contribution for literary studies lie at the substantive level, using the method to gain a better understanding of gender portrayal in Calder&#243;n&#8217;s <italic>comedias</italic>. We have shown that male and female characters broadly demonstrate adherence to gendered speech in a way that is classifiable at the sentence level. Our findings bolster prior observations by &#352;e&#316;a et al. (<xref ref-type="bibr" rid="B35">2024</xref>), finding similar thematic differences between male and female characters (female characters making reference to their internal worlds, for example). At the same time, our qualitative analysis on the example of Rosaura shows that, at the character level, Calder&#243;n&#8217;s gender representation can be non-monolithic and complex (<xref ref-type="bibr" rid="B2">Arellano Ayuso 2015</xref>) &#8211; and our computational tools provide us with a way of quantifying this intuition. Overall, in this way, our models produce findings that align with the existing hermeneutical studies, but can extend them to many of Calder&#243;n&#8217;s lesser known <italic>comedias</italic>. Concretely, we find that the main cues of gender identity that our models pick up regard modes of interaction (within-gender vs. cross-gender) as well as spheres of existence (the domestic and personal for female characters vs. the military and political for male characters).</p>
<p>Another surprising but positive finding in our study was that several findings that looked wrong or at least counterintuitive at first glance turned out to be due to annotation errors in the corpus or the data bases we used, strengthening our belief in the accuracy of the method&#8217;s output and indicating its usefulness to uncover such errors in the annotation, an application known in computational linguistics as &#8220;error mining&#8221; (<xref ref-type="bibr" rid="B10">Dickinson 2015</xref>).<xref ref-type="fn" rid="n8">8</xref></p>
<p>More generally, our work indicates that Calder&#243;n&#8217;s dramas &#8211; at least in modernized and normalized versions &#8211; do not provide major obstacles to the use of current language model-based NLP, and thus lays the ground work for future use of scalable reading approaches in Calderonian studies.</p>
<p>In terms of limitations, the study reported here was based on a gender classifier with a BERT architecture, which comes with a set of constraints. These include the use of a model-specific tokenizer which cannot be easily adapted to the specific corpus and which may make some of the attributions difficult to understand, as well as the 512-token limit of the classifier. Most seriously, we limited ourselves to only the text spoken by each character, not taking into account dramatic structure or interpersonal relationships. Due to this simplification, the model is limited to lexical cues, and could not identify gender-based patterns like (hypothetically) &#8216;men always speak first&#8217;. While our study shares this limitation with much work in stylometry (<xref ref-type="bibr" rid="B12">Evert et al. 2017</xref>), it is possible to present such structural information to classifiers as well (<xref ref-type="bibr" rid="B21">Kim and Klinger 2019</xref>), in particular in more recent models with longer context windows (<xref ref-type="bibr" rid="B49">Zaheer et al. 2020</xref>). We leave such endeavors to future work.</p>
<p>We conclude by sketching three more avenues for future research. The first one is to move beyond gender to other character traits such as socio-economic status. Honor is a key theme in the works of Calder&#243;n, and it is intimately tied to socio-economic status and hierarchy (<xref ref-type="bibr" rid="B17">Granja Ibarreche 2020</xref>; <xref ref-type="bibr" rid="B18">Greer 1991</xref>). Particularly, noble characters spend many plays discussing the losing and gaining of honor. Characters of high socio-economic status are more likely to be well educated and thus speak differently to lower class character or servants (<xref ref-type="bibr" rid="B48">Woods 2013</xref>). <italic>Siglo de oro</italic> authors also utilize character archetypes which are tied to different socio-economic statuses such as the <italic>gracioso</italic> &#8211; a servant character who serves as comic relief. These are frequently labeled in the cast sheet, however not all instances of this character type are annotated in our corpus. Therefore, it may be possible to utilize similar classification methods to identify socio-economic status and enrich the annotations in CalDraCor. Identifying archetypes may require the use of additional processing tools, such as clustering. This information can then be used to identify structural patters, in Calder&#243;n&#8217;s work.</p>
<p>A second direction could be the use of our approach to find structure in the large number of works by Calder&#243;n, looking for example at differences in gender portrayal between his tragedies and his comedies, or conversely using gender depiction as evidence to argue for or against certain genre delineations (<xref ref-type="bibr" rid="B22">Lehmann and Pad&#243; 2022</xref>). Another possible question to ask is whether Calder&#243;n&#8217;s gender portrayal remained constant over the long period of his productive career, or whether it changed.</p>
<p>Finally, future work could apply the methods developed here to other dramas by <italic>siglo de oro</italic> authors such as Lope de Vega. This would permit us to understand the extent to which gender portrayal we observe in Calder&#243;n&#8217;s <italic>comedias</italic> is a general feature of the period or author specific. This would require overcoming practical hurdles, though, since other authors&#8217; work are generally not as easily accessible and consistently represented as Calder&#243;n&#8217;s in CalDraCor.</p>
</sec>
<sec id="S6">
<title>6. Data Availability</title>
<p>Data can be found here: <ext-link ext-link-type="uri" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://github.com/allisonakeith/calderon-gender-prediction">https://github.com/allisonakeith/calderon-gender-prediction</ext-link> (DOI: <ext-link ext-link-type="uri" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://doi.org/10.5281/zenodo.15639883">https://doi.org/10.5281/zenodo.15639883</ext-link>). This investigation was made possible by the work of the DraCor project. The full corpus of TEI-XML format dramas can be found here: <ext-link ext-link-type="uri" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://doi.org/10.5281/zenodo.15039503">https://doi.org/10.5281/zenodo.15039503</ext-link> and <ext-link ext-link-type="uri" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://dracor.org/cal">https://dracor.org/cal</ext-link>.</p>
</sec>
<sec id="S7">
<title>7. Software Availability</title>
<p>Software can be found here: <ext-link ext-link-type="uri" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://github.com/allisonakeith/calderon-gender-prediction">https://github.com/allisonakeith/calderon-gender-prediction</ext-link> (DOI: <ext-link ext-link-type="uri" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://doi.org/10.5281/zenodo.15639883">https://doi.org/10.5281/zenodo.15639883</ext-link>).</p>
</sec>
</body>
<back>
<sec id="S8">
<title>8. Acknowledgements</title>
<p>This work was conducted as part of the &#8217;Identifying Regularities in the works of Pedro Calder&#243;n de la Barca&#8217; project (508056339) funded by the DFG Priority Programme / Schwerpunktprogramm &#8217;Computational Literary Studies&#8217; (SPP 2207).</p>
</sec>
<sec id="S9">
<title>9. Author Contributions</title>
<p><bold>Allison Keith:</bold> Writing &#8211; original draft, Writing &#8211; review &amp; editing, Investigation, Formal analysis</p>
<p><bold>Antonio Rojas Castro:</bold> Conceptualization, Writing &#8211; original draft, Writing &#8211; review &amp; editing</p>
<p><bold>Hanno Ehrlicher:</bold> Conceptualization, Project administration</p>
<p><bold>Kerstin Jung:</bold> Project administration</p>
<p><bold>Sebastian Pad&#243;:</bold> Conceptualization, Writing &#8211; original draft, Writing &#8211; review &amp; editing, Supervision</p>
</sec>
<fn-group>
<fn id="n1"><p>See <xref ref-type="sec" rid="S3">section 3</xref> for details about tokenization.</p></fn>
<fn id="n2"><p>Utterance-level predictions could also be aggregated at the scene level. We do not consider this option to simplify the experimental setup.</p></fn>
<fn id="n3"><p>See: <ext-link ext-link-type="uri" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://dracor.org/cal">https://dracor.org/cal</ext-link>.</p></fn>
<fn id="n4"><p>See: <ext-link ext-link-type="uri" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://github.com/cdpierse/transformers-interpret">https://github.com/cdpierse/transformers-interpret</ext-link>.</p></fn>
<fn id="n5"><p>For convenience, the Appendix provides a translation of this table into English as <xref ref-type="table" rid="T8">Table 8</xref>.</p></fn>
<fn id="n6"><p>Note the absence of words for honor itself (<italic>honor, honra</italic>), likely since honor is highly relevant for both male and female characters in different contexts.</p></fn>
<fn id="n7"><p>See: <ext-link ext-link-type="uri" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://rolecall.eu/crossdressed_characters/">https://rolecall.eu/crossdressed_characters/</ext-link>.</p></fn>
<fn id="n8"><p>The annotation errors we identified have since been reported and published in CalDraCor.</p></fn>
</fn-group>
<ref-list>
<ref id="B1"><mixed-citation publication-type="book"><string-name><surname>Araico</surname>, <given-names>Susana Hern&#225;ndez</given-names></string-name> (<year>2017</year>). <chapter-title>&#8220;Lenguaje esc&#233;nico de Calder&#243;n para tipos de mujer varonil y/o vestida de hombre: el preludio de su &#8216;Primera parte&#8217;&#8221;</chapter-title>. In: <source>Figuras del bien y del mal: La construcci&#243;n cultural de la masculinidad y de la feminidad en el teatro calderoniano. XVII Coloquio Anglogermano sobre Calder&#243;n, M&#252;nster, Alemania, 16-19 de julio de 2014</source>. Ed. by <string-name><given-names>Manfred</given-names> <surname>Tietz</surname></string-name> and <string-name><given-names>Gero</given-names> <surname>Arnscheidt</surname></string-name>. <publisher-name>Editorial Academia del Hispanismo</publisher-name>, <fpage>287</fpage>&#8211;<lpage>314</lpage>.</mixed-citation></ref>
<ref id="B2"><mixed-citation publication-type="webpage"><string-name><surname>Arellano Ayuso</surname>, <given-names>Ignacio</given-names></string-name> (<year>2015</year>). <article-title>&#8220;Mujeres perversas y perversiones femeninas en Calder&#243;n. Cuestiones de g&#233;nero (&#8216;Genders y Genres&#8217;)&#8221;</article-title>. In: <source>Hispan&#243;fila</source> <volume>175</volume>, <fpage>33</fpage>&#8211;<lpage>48</lpage>. <uri>https://www.jstor.org/stable/90011945</uri> (visited on 05/19/2025).</mixed-citation></ref>
<ref id="B3"><mixed-citation publication-type="book"><string-name><surname>Atanasova</surname>, <given-names>Pepa</given-names></string-name>, <string-name><given-names>Jakob</given-names> <surname>Grue Simonsen</surname></string-name>, <string-name><given-names>Christina</given-names> <surname>Lioma</surname></string-name>, and <string-name><given-names>Isabelle</given-names> <surname>Augenstein</surname></string-name> (<year>2020</year>). <chapter-title>&#8220;A Diagnostic Study of Explainability Techniques for Text Classification&#8221;</chapter-title>. In: <source>Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)</source>. <publisher-name>Association for Computational Linguistics</publisher-name>, <fpage>3256</fpage>&#8211;<lpage>3274</lpage>. <pub-id pub-id-type="doi">10.18653/v1/2020.emnlp-main.263</pub-id>.</mixed-citation></ref>
<ref id="B4"><mixed-citation publication-type="book"><string-name><surname>Bibal</surname>, <given-names>Adrien</given-names></string-name>, <string-name><given-names>R&#233;mi</given-names> <surname>Cardon</surname></string-name>, <string-name><given-names>David</given-names> <surname>Alfter</surname></string-name>, <string-name><given-names>Rodrigo</given-names> <surname>Wilkens</surname></string-name>, <string-name><given-names>Xiaoou</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>Thomas</given-names> <surname>Fran&#231;ois</surname></string-name>, and <string-name><given-names>Patrick</given-names> <surname>Watrin</surname></string-name> (<year>2022</year>). <chapter-title>&#8220;Is Attention Explanation? An Introduction to the Debate&#8221;</chapter-title>. In: <source>Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)</source>. <publisher-name>Association for Computational Linguistics</publisher-name>, <fpage>3889</fpage>&#8211;<lpage>3900</lpage>. <pub-id pub-id-type="doi">10.18653/v1/2022.acl-long.269</pub-id>.</mixed-citation></ref>
<ref id="B5"><mixed-citation publication-type="book"><string-name><surname>Bravo-Villasante</surname>, <given-names>Carmen</given-names></string-name> (<year>1976</year>). <source>La mujer vestida de hombre en el teatro espa&#241;ol (siglos XVI-XVII)</source>. <publisher-name>Sociedad General Espa&#241;ola de Librer&#237;a</publisher-name>.</mixed-citation></ref>
<ref id="B6"><mixed-citation publication-type="book"><string-name><surname>Bullard</surname>, <given-names>Joseph</given-names></string-name> and <string-name><given-names>Cecilia Ovesdotter</given-names> <surname>Alm</surname></string-name> (<year>2014</year>). <chapter-title>&#8220;Computational Analysis to Explore Authors&#8217; Depiction of Characters&#8221;</chapter-title>. In: <source>Proceedings of the 3rd Workshop on Computational Linguistics for Literature (CLFL)</source>. <publisher-name>Association for Computational Linguistics</publisher-name>, <fpage>11</fpage>&#8211;<lpage>16</lpage>. <pub-id pub-id-type="doi">10.3115/v1/W14-0902</pub-id>.</mixed-citation></ref>
<ref id="B7"><mixed-citation publication-type="journal"><string-name><surname>Caliskan</surname>, <given-names>Aylin</given-names></string-name>, <string-name><given-names>Pimparkar</given-names> <surname>Parth Ajay</surname></string-name>, <string-name><given-names>Tessa</given-names> <surname>Charlesworth</surname></string-name>, <string-name><given-names>Robert</given-names> <surname>Wolfe</surname></string-name>, and <string-name><given-names>Mahzarin R</given-names> <surname>Banaji</surname></string-name> (<year>2022</year>). <article-title>&#8220;Gender Bias in Word Embeddings: A Comprehensive Analysis of Frequency, Syntax, and Semantics&#8221;</article-title>. In: <source>Proceedings of the 2022 AAAI/ACM Conference on AI, Ethics, and Society</source>, <fpage>156</fpage>&#8211;<lpage>170</lpage>. <pub-id pub-id-type="doi">10.1145/3514094.3534162</pub-id>.</mixed-citation></ref>
<ref id="B8"><mixed-citation publication-type="journal"><string-name><surname>Ca&#241;ete</surname>, <given-names>Jos&#233;</given-names></string-name>, <string-name><given-names>Gabriel</given-names> <surname>Chaperon</surname></string-name>, <string-name><given-names>Rodrigo</given-names> <surname>Fuentes</surname></string-name>, <string-name><given-names>Jou-Hui</given-names> <surname>Ho</surname></string-name>, <string-name><given-names>Hojin</given-names> <surname>Kang</surname></string-name>, and <string-name><given-names>Jorge</given-names> <surname>P&#233;rez</surname></string-name> (<year>2020</year>). <article-title>&#8220;Spanish Pre-Trained BERT Model and Evaluation Data&#8221;</article-title>. In: <source>PML4DC at ICLR 2020</source>. <pub-id pub-id-type="doi">10.48550/arXiv.2308.02976</pub-id>.</mixed-citation></ref>
<ref id="B9"><mixed-citation publication-type="book"><string-name><surname>Devlin</surname>, <given-names>Jacob</given-names></string-name>, <string-name><given-names>Ming-Wei</given-names> <surname>Chang</surname></string-name>, <string-name><given-names>Kenton</given-names> <surname>Lee</surname></string-name>, and <string-name><given-names>Kristina</given-names> <surname>Toutanova</surname></string-name> (<year>2019</year>). <chapter-title>&#8220;BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding&#8221;</chapter-title>. In: <source>Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers)</source>. Ed. by <string-name><given-names>Jill</given-names> <surname>Burstein</surname></string-name>, <string-name><given-names>Christy</given-names> <surname>Doran</surname></string-name>, and <string-name><given-names>Thamar</given-names> <surname>Solorio</surname></string-name>, <fpage>4171</fpage>&#8211;<lpage>4186</lpage>. <pub-id pub-id-type="doi">10.18653/v1/N19-1423</pub-id>.</mixed-citation></ref>
<ref id="B10"><mixed-citation publication-type="journal"><string-name><surname>Dickinson</surname>, <given-names>Markus</given-names></string-name> (<year>2015</year>). <article-title>&#8220;Detection of Annotation Errors in Corpora&#8221;</article-title>. In: <source>Language and Linguistics Compass</source> <volume>9</volume> (<issue>3</issue>), <fpage>119</fpage>&#8211;<lpage>138</lpage>. <pub-id pub-id-type="doi">10.1111/lnc3.12129</pub-id>.</mixed-citation></ref>
<ref id="B11"><mixed-citation publication-type="book"><string-name><surname>Drouet</surname>, <given-names>Am&#233;lie Djondo</given-names></string-name> (<year>2017</year>). <chapter-title>&#8220;Crimen y castigo: dos &#171;locas&#187; del teatro del Siglo de Oro&#8221;</chapter-title>. In: <source>&#8221;Posside sapientiam&#8221;: Actas del VI Congreso Internacional J&#243;venes Investigadores Siglo de Oro</source>. Ed. by <string-name><given-names>Carlos Mata</given-names> <surname>Indur&#225;in</surname></string-name> and <string-name><given-names>Sara Santa</given-names> <surname>Aguilar</surname></string-name>. <publisher-name>Servicio de Publicaciones de la Universidad de Navarra</publisher-name>, <fpage>79</fpage>&#8211;<lpage>91</lpage>.</mixed-citation></ref>
<ref id="B12"><mixed-citation publication-type="journal"><string-name><surname>Evert</surname>, <given-names>St.</given-names></string-name>, <string-name><given-names>Thomas</given-names> <surname>Proisl</surname></string-name>, <string-name><given-names>Fotis</given-names> <surname>Jannidis</surname></string-name>, <string-name><given-names>Isabella</given-names> <surname>Reger</surname></string-name>, <string-name><given-names>Steffen</given-names> <surname>Pielstr&#246;m</surname></string-name>, <string-name><given-names>Christof</given-names> <surname>Sch&#246;ch</surname></string-name>, and <string-name><given-names>Thorsten</given-names> <surname>Vitt</surname></string-name> (<year>2017</year>). <article-title>&#8220;Understanding and explaining Delta measures for authorship attribution&#8221;</article-title>. In: <source>Digital Scholarship in the Humanities</source> <volume>32</volume> (<issue>suppl_2</issue>), <fpage>ii4</fpage>&#8211;<lpage>ii16</lpage>. <pub-id pub-id-type="doi">10.1093/llc/fqx023</pub-id>.</mixed-citation></ref>
<ref id="B13"><mixed-citation publication-type="book"><string-name><surname>Fern&#225;ndez Guillermo</surname>, <given-names>Leonor</given-names></string-name> (<year>2017</year>). <chapter-title>&#8220;La figura masculina en el drama calderoniano: estatus y valores en la conformaci&#243;n de un modelo de masculinidad&#8221;</chapter-title>. In: <source>Figuras del bien y del mal: La construcci&#243;n cultural de la masculinidad y de la feminidad en el teatro calderoniano. XVII Coloquio Anglogermano sobre Calder&#243;n. M&#252;nster, Alemania, 16-19 de julio de 2014, 2017</source>. Ed. by <string-name><given-names>Manfred</given-names> <surname>Tietz</surname></string-name> and <string-name><given-names>Gero</given-names> <surname>Arnscheidt</surname></string-name>. <publisher-name>Editorial Academia del Hispanismo</publisher-name>, <fpage>135</fpage>&#8211;<lpage>146</lpage>.</mixed-citation></ref>
<ref id="B14"><mixed-citation publication-type="book"><string-name><surname>Firth</surname>, <given-names>John Rupert</given-names></string-name> (<year>1957</year>). <source>Papers in Linguistics 1934&#8211;1951</source>. <publisher-name>Oxford University Press</publisher-name>.</mixed-citation></ref>
<ref id="B15"><mixed-citation publication-type="book"><string-name><surname>Fischer</surname>, <given-names>Frank</given-names></string-name>, <string-name><given-names>Ingo</given-names> <surname>B&#246;rner</surname></string-name>, <string-name><given-names>Mathias</given-names> <surname>G&#246;bel</surname></string-name>, <string-name><given-names>Angelika</given-names> <surname>Hechtl</surname></string-name>, <string-name><given-names>Christopher</given-names> <surname>Kittel</surname></string-name>, <string-name><given-names>Carsten</given-names> <surname>Milling</surname></string-name>, and <string-name><given-names>Peer</given-names> <surname>Trilcke</surname></string-name> (<year>2019</year>). <chapter-title>&#8220;Programmable Corpora: Introducing DraCor, an Infrastructure for the Research on European Drama&#8221;</chapter-title>. In: <source>Digital Humanities Conference 2019: Book of Abstracts</source>. <publisher-name>ADHO</publisher-name>. <pub-id pub-id-type="doi">10.5281/zenodo.4284001</pub-id>.</mixed-citation></ref>
<ref id="B16"><mixed-citation publication-type="book"><string-name><surname>Fitzmaurice-Kelly</surname>, <given-names>James</given-names></string-name> (<year>1921</year>). <source>A History of Spanish Literature</source>. <publisher-name>D. Appleton and Co</publisher-name>.</mixed-citation></ref>
<ref id="B17"><mixed-citation publication-type="webpage"><string-name><surname>Granja Ibarreche</surname>, <given-names>Xabier</given-names></string-name> (<year>2020</year>). <article-title>&#8220;When Honor is Not Enough: Masculine Power and Uxoricide in Calder&#243;n de la Barca&#8221;</article-title>. In: <source>Anagn&#243;risis: Revista de investigaci&#243;n teatral</source> <volume>22</volume>, <fpage>7</fpage>&#8211;<lpage>31</lpage>. <uri>https://ir.ua.edu/handle/123456789/15188</uri> (visited on 05/23/2025).</mixed-citation></ref>
<ref id="B18"><mixed-citation publication-type="book"><string-name><surname>Greer</surname>, <given-names>Margaret Rich</given-names></string-name> (<year>1991</year>). <source>The Play of Power: Mythological Court Dramas of Calder&#243;n de la Barca</source>. <publisher-name>Princeton University Press</publisher-name>. <pub-id pub-id-type="doi">10.1515/9781400887118</pub-id>.</mixed-citation></ref>
<ref id="B19"><mixed-citation publication-type="book"><string-name><surname>Honig</surname>, <given-names>Edwin</given-names></string-name> (<year>1972</year>). <source>The Seizures of Honor in Calder&#243;n</source>. <publisher-name>Harvard University Press</publisher-name>.</mixed-citation></ref>
<ref id="B20"><mixed-citation publication-type="book"><string-name><surname>Jain</surname>, <given-names>Sarthak</given-names></string-name> and <string-name><given-names>Byron C.</given-names> <surname>Wallace</surname></string-name> (<year>2019</year>). <chapter-title>&#8220;Attention is not Explanation&#8221;</chapter-title>. In: <source>Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers)</source>. Ed. by <string-name><given-names>Jill</given-names> <surname>Burstein</surname></string-name>, <string-name><given-names>Christy</given-names> <surname>Doran</surname></string-name>, and <string-name><given-names>Thamar</given-names> <surname>Solorio</surname></string-name>. <publisher-name>Association for Computational Linguistics</publisher-name>, <fpage>3543</fpage>&#8211;<lpage>3556</lpage>. <pub-id pub-id-type="doi">10.18653/v1/N19-1357</pub-id>.</mixed-citation></ref>
<ref id="B21"><mixed-citation publication-type="book"><string-name><surname>Kim</surname>, <given-names>Evgeny</given-names></string-name> and <string-name><given-names>Roman</given-names> <surname>Klinger</surname></string-name> (<year>2019</year>). <chapter-title>&#8220;Frowning Frodo, Wincing Leia, and a Seriously Great Friendship: Learning to Classify Emotional Relationships of Fictional Characters&#8221;</chapter-title>. In: <source>Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers)</source>. Ed. by <string-name><given-names>Jill</given-names> <surname>Burstein</surname></string-name>, <string-name><given-names>Christy</given-names> <surname>Doran</surname></string-name>, and <string-name><given-names>Thamar</given-names> <surname>Solorio</surname></string-name>. <publisher-name>Association for Computational Linguistics</publisher-name>, <fpage>647</fpage>&#8211;<lpage>653</lpage>. <pub-id pub-id-type="doi">10.18653/v1/N19-1067</pub-id>.</mixed-citation></ref>
<ref id="B22"><mixed-citation publication-type="journal"><string-name><surname>Lehmann</surname>, <given-names>J&#246;rg</given-names></string-name> and <string-name><given-names>Sebastian</given-names> <surname>Pad&#243;</surname></string-name> (<year>2022</year>). <article-title>&#8220;Clasificaci&#243;n de Tragedias y Comedias en las Comedias Nuevas de Calder&#243;n de la Barca&#8221;</article-title>. In: <source>Revista de Humanidades Digitales</source> <volume>7</volume>, <fpage>80</fpage>&#8211;<lpage>103</lpage>. <pub-id pub-id-type="doi">10.5944/rhd.vol.7.2022.34588</pub-id>.</mixed-citation></ref>
<ref id="B23"><mixed-citation publication-type="book"><string-name><surname>Liesenfeld</surname>, <given-names>Andreas</given-names></string-name>, <string-name><given-names>Alianda</given-names> <surname>Lopez</surname></string-name>, and <string-name><given-names>Mark</given-names> <surname>Dingemanse</surname></string-name> (<year>2023</year>). <chapter-title>&#8220;Opening up ChatGPT: Tracking openness, transparency, and accountability in instruction-tuned text generators&#8221;</chapter-title>. In: <source>Proceedings of the 5th International Conference on Conversational User Interfaces</source>. <publisher-name>Association for Computing Machinery</publisher-name>, <fpage>1</fpage>&#8211;<lpage>6</lpage>. <pub-id pub-id-type="doi">10.1145/3571884.3604316</pub-id>.</mixed-citation></ref>
<ref id="B24"><mixed-citation publication-type="journal"><string-name><surname>Liu</surname>, <given-names>Nelson F.</given-names></string-name>, <string-name><given-names>Kevin</given-names> <surname>Lin</surname></string-name>, <string-name><given-names>John</given-names> <surname>Hewitt</surname></string-name>, <string-name><given-names>Ashwin</given-names> <surname>Paranjape</surname></string-name>, <string-name><given-names>Michele</given-names> <surname>Bevilacqua</surname></string-name>, <string-name><given-names>Fabio</given-names> <surname>Petroni</surname></string-name>, and <string-name><given-names>Percy</given-names> <surname>Liang</surname></string-name> (<year>2024</year>). <article-title>&#8220;Lost in the Middle: How Language Models Use Long Contexts&#8221;</article-title>. In: <source>Transactions of the Association for Computational Linguistics</source> <volume>12</volume>, <fpage>157</fpage>&#8211;<lpage>173</lpage>. <pub-id pub-id-type="doi">10.1162/tacl_a_00638</pub-id>.</mixed-citation></ref>
<ref id="B25"><mixed-citation publication-type="journal"><string-name><surname>Liu</surname>, <given-names>Pengfei</given-names></string-name>, <string-name><given-names>Weizhe</given-names> <surname>Yuan</surname></string-name>, <string-name><given-names>Jinlan</given-names> <surname>Fu</surname></string-name>, <string-name><given-names>Zhengbao</given-names> <surname>Jiang</surname></string-name>, <string-name><given-names>Hiroaki</given-names> <surname>Hayashi</surname></string-name>, and <string-name><given-names>Graham</given-names> <surname>Neubig</surname></string-name> (<year>2023</year>). <article-title>&#8220;Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing&#8221;</article-title>. In: <source>ACM Computing Surveys</source> <volume>55</volume> (<issue>9</issue>). <pub-id pub-id-type="doi">10.1145/3560815</pub-id>.</mixed-citation></ref>
<ref id="B26"><mixed-citation publication-type="webpage"><string-name><surname>Lorenzo</surname>, <given-names>Laura Hern&#225;ndez</given-names></string-name> (<year>2024</year>). <article-title>&#8220;Estilometr&#237;a y g&#233;nero: aproximaci&#243;n a los personajes teatrales de Calder&#243;n y Sor Juana In&#233;s de la Cruz&#8221;</article-title>. In: <source>&#205;nsula: revista de letras y ciencias humanas</source> <volume>930</volume>, <fpage>32</fpage>&#8211;<lpage>36</lpage>. <uri>https://www.revistasculturales.com/revistas/37/insula/num/930/</uri> (visited on 06/13/2025).</mixed-citation></ref>
<ref id="B27"><mixed-citation publication-type="webpage"><string-name><surname>Mikolov</surname>, <given-names>Tomas</given-names></string-name>, <string-name><given-names>Ilya</given-names> <surname>Sutskever</surname></string-name>, <string-name><given-names>Kai</given-names> <surname>Chen</surname></string-name>, <string-name><given-names>Greg S</given-names> <surname>Corrado</surname></string-name>, and <string-name><given-names>Jeff</given-names> <surname>Dean</surname></string-name> (<year>2013</year>). <chapter-title>&#8220;Distributed Representations of Words and Phrases and their Compositionality&#8221;</chapter-title>. In: <source>Advances in Neural Information Processing Systems</source>. Ed. by <string-name><given-names>C.J.</given-names> <surname>Burges</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Bottou</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Welling</surname></string-name>, <string-name><given-names>Z.</given-names> <surname>Ghahramani</surname></string-name>, and <string-name><given-names>K.Q.</given-names> <surname>Weinberger</surname></string-name>. Vol. <volume>26</volume>. <publisher-name>Curran Associates, Inc</publisher-name>. <uri>https://proceedings.neurips.cc/paper_files/paper/2013/file/9aa42b31882ec039965f3c4923ce901b-Paper.pdf</uri> (visited on 06/13/2025).</mixed-citation></ref>
<ref id="B28"><mixed-citation publication-type="journal"><string-name><surname>Miller</surname>, <given-names>George A.</given-names></string-name> and <string-name><given-names>Walter G.</given-names> <surname>Charles</surname></string-name> (<year>1991</year>). <article-title>&#8220;Contextual Correlates of Semantic Similarity&#8221;</article-title>. In: <source>Language and Cognitive Processes</source> <volume>6</volume> (<issue>1</issue>), <fpage>1</fpage>&#8211;<lpage>28</lpage>. <pub-id pub-id-type="doi">10.1080/01690969108406936</pub-id>.</mixed-citation></ref>
<ref id="B29"><mixed-citation publication-type="journal"><string-name><surname>Murdoch</surname>, <given-names>W. James</given-names></string-name>, <string-name><given-names>Chandan</given-names> <surname>Singh</surname></string-name>, <string-name><given-names>Karl</given-names> <surname>Kumbier</surname></string-name>, <string-name><given-names>Reza</given-names> <surname>Abbasi-Asl</surname></string-name>, and <string-name><given-names>Bin</given-names> <surname>Yu</surname></string-name> (<year>2019</year>). <article-title>&#8220;Definitions, Methods, and Applications in Interpretable Machine Learning&#8221;</article-title>. In: <source>Proceedings of the National Academy of Sciences</source> <volume>116</volume> (<issue>44</issue>), <fpage>22071</fpage>&#8211;<lpage>22080</lpage>. <pub-id pub-id-type="doi">10.1073/pnas.1900654116</pub-id>.</mixed-citation></ref>
<ref id="B30"><mixed-citation publication-type="journal"><string-name><surname>Riedl</surname>, <given-names>Mark O.</given-names></string-name> (<year>2019</year>). <article-title>&#8220;Human-Centered Artificial Intelligence and Machine Learning&#8221;</article-title>. In: <source>Human Behavior and Emerging Technologies</source> <volume>1</volume> (<issue>1</issue>), <fpage>33</fpage>&#8211;<lpage>36</lpage>. <pub-id pub-id-type="doi">10.1002/hbe2.117</pub-id>.</mixed-citation></ref>
<ref id="B31"><mixed-citation publication-type="book"><string-name><surname>Rudinger</surname>, <given-names>Rachel</given-names></string-name>, <string-name><given-names>Jason</given-names> <surname>Naradowsky</surname></string-name>, <string-name><given-names>Brian</given-names> <surname>Leonard</surname></string-name>, and <string-name><given-names>Benjamin</given-names> <surname>Van Durme</surname></string-name> (<year>2018</year>). <chapter-title>&#8220;Gender Bias in Coreference Resolution&#8221;</chapter-title>. In: <source>Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers)</source>. Ed. by <string-name><given-names>Marilyn</given-names> <surname>Walker</surname></string-name>, <string-name><given-names>Heng</given-names> <surname>Ji</surname></string-name>, and <string-name><given-names>Amanda</given-names> <surname>Stent</surname></string-name>. <publisher-name>Association for Computational Linguistics</publisher-name>, <fpage>8</fpage>&#8211;<lpage>14</lpage>. <pub-id pub-id-type="doi">10.18653/v1/N18-2002</pub-id>.</mixed-citation></ref>
<ref id="B32"><mixed-citation publication-type="journal"><string-name><surname>S&#225;ez</surname>, <given-names>Adri&#225;n J.</given-names></string-name> (<year>2019</year>). <article-title>&#8220;&#171;Veloz rayo&#187;: mujer y violencia en las comedias de la Primera parte de Calder&#243;n&#8221;</article-title>. In: <source>Hipogrifo: Revista de Literatura y Cultura del Siglo de Oro</source> <volume>7</volume> (<issue>1</issue>), <fpage>379</fpage>&#8211;<lpage>396</lpage>. <pub-id pub-id-type="doi">10.13035/H.2019.07.01.30</pub-id>.</mixed-citation></ref>
<ref id="B33"><mixed-citation publication-type="journal"><string-name><surname>Savoy</surname>, <given-names>Jacques</given-names></string-name> (<year>2023</year>). <article-title>&#8220;Stylometric Analysis of Characters in Shakespeare&#8217;s Plays&#8221;</article-title>. In: <source>Digital Scholarship in the Humanities</source> <volume>38</volume> (<issue>3</issue>), <fpage>1238</fpage>&#8211;<lpage>1246</lpage>. <pub-id pub-id-type="doi">10.1093/llc/fqac092</pub-id>.</mixed-citation></ref>
<ref id="B34"><mixed-citation publication-type="journal"><string-name><surname>Schr&#246;ter</surname>, <given-names>Julian</given-names></string-name>, <string-name><given-names>Keli</given-names> <surname>Du</surname></string-name>, <string-name><given-names>Julia</given-names> <surname>Dudar</surname></string-name>, <string-name><given-names>Cora</given-names> <surname>Rok</surname></string-name>, and <string-name><given-names>Christof</given-names> <surname>Sch&#246;ch</surname></string-name> (<year>2021</year>). <article-title>&#8220;From Keyness to Distinctiveness &#8212; Triangulation and Evaluation in Computational Literary Studies&#8221;</article-title>. In: <source>Journal of Literary Theory</source> <volume>15</volume> (<issue>1-2</issue>), <fpage>81</fpage>&#8211;<lpage>108</lpage>. <pub-id pub-id-type="doi">10.1515/jlt-2021-2011</pub-id>.</mixed-citation></ref>
<ref id="B35"><mixed-citation publication-type="book"><string-name><surname>&#352;e&#316;a</surname>, <given-names>Artjoms</given-names></string-name>, <string-name><given-names>Ben</given-names> <surname>Nagy</surname></string-name>, <string-name><given-names>Joanna</given-names> <surname>Byszuk</surname></string-name>, <string-name><given-names>Laura</given-names> <surname>Hern&#225;ndez-Lorenzo</surname></string-name>, <string-name><given-names>Botond</given-names> <surname>Szemes</surname></string-name>, and <string-name><given-names>Maciej</given-names> <surname>Eder</surname></string-name> (<year>2024</year>). <chapter-title>&#8220;From Stage to Page: Stylistic Variation in Fictional Speech&#8221;</chapter-title>. In: <source>Computational Drama Analysis</source>. Ed. by <string-name><given-names>Melanie</given-names> <surname>Andresen</surname></string-name> and <string-name><given-names>Nils</given-names> <surname>Reiter</surname></string-name>. <publisher-name>De Gruyter</publisher-name>, <fpage>149</fpage>&#8211;<lpage>166</lpage>. <pub-id pub-id-type="doi">10.1515/9783111071824-008</pub-id>.</mixed-citation></ref>
<ref id="B36"><mixed-citation publication-type="book"><string-name><surname>Sennrich</surname>, <given-names>Rico</given-names></string-name>, <string-name><given-names>Barry</given-names> <surname>Haddow</surname></string-name>, and <string-name><given-names>Alexandra</given-names> <surname>Birch</surname></string-name> (<year>2016</year>). <chapter-title>&#8220;Neural Machine Translation of Rare Words with Subword Units&#8221;</chapter-title>. In: <source>Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)</source>. Ed. by <string-name><given-names>Katrin</given-names> <surname>Erk</surname></string-name> and <string-name><given-names>Noah A.</given-names> <surname>Smith</surname></string-name>. <publisher-name>Association for Computational Linguistics</publisher-name>, <fpage>1715</fpage>&#8211;<lpage>1725</lpage>. <pub-id pub-id-type="doi">10.18653/v1/P16-1162</pub-id>.</mixed-citation></ref>
<ref id="B37"><mixed-citation publication-type="journal"><string-name><surname>Strosetzki</surname>, <given-names>Christoph</given-names></string-name> (<year>2017</year>). <article-title>&#8220;Los personajes femeninos en Calder&#243;n&#8221;</article-title>. In: <source>Bulletin hispanique</source> <volume>119</volume> (<issue>1</issue>). <pub-id pub-id-type="doi">10.4000/bulletinhispanique.4916</pub-id>.</mixed-citation></ref>
<ref id="B38"><mixed-citation publication-type="book"><string-name><surname>Sundararajan</surname>, <given-names>Mukund</given-names></string-name>, <string-name><given-names>Ankur</given-names> <surname>Taly</surname></string-name>, and <string-name><given-names>Qiqi</given-names> <surname>Yan</surname></string-name> (<year>2017</year>). <chapter-title>&#8220;Axiomatic Attribution for Deep Networks&#8221;</chapter-title>. In: <source>Proceedings of the 34th International Conference on Machine Learning - Volume 70</source>. Ed. by <string-name><given-names>Doina</given-names> <surname>Precup</surname></string-name> and <string-name><given-names>Yee Whye</given-names> <surname>Teh</surname></string-name>. <publisher-name>JMLR</publisher-name>, <fpage>3319</fpage>&#8211;<lpage>3328</lpage>. <pub-id pub-id-type="doi">10.5555/3305890.3306024</pub-id>.</mixed-citation></ref>
<ref id="B39"><mixed-citation publication-type="book"><string-name><surname>Tang</surname>, <given-names>Quan</given-names></string-name>, <string-name><given-names>Fagui</given-names> <surname>Liu</surname></string-name>, <string-name><given-names>Jun</given-names> <surname>Jiang</surname></string-name>, <string-name><given-names>Yu</given-names> <surname>Zhang</surname></string-name>, and <string-name><given-names>Xuhao</given-names> <surname>Tang</surname></string-name> (<year>2022</year>). <chapter-title>&#8220;Alleviating Overconfident Failure Predictions via Masking Predictive Logits in Semantic Segmentation&#8221;</chapter-title>. In: <source>Artificial Neural Networks and Machine Learning &#8211; ICANN 2022</source>. <publisher-name>Springer</publisher-name>, <fpage>1</fpage>&#8211;<lpage>13</lpage>. <pub-id pub-id-type="doi">10.1007/978-3-031-15931-2_1</pub-id>.</mixed-citation></ref>
<ref id="B40"><mixed-citation publication-type="book"><string-name><surname>Tietz</surname>, <given-names>Manfred</given-names></string-name> and <string-name><given-names>Gero</given-names> <surname>Arnscheidt</surname></string-name> (<year>2017</year>). <chapter-title>&#8220;A modo de pr&#243;logo&#8221;</chapter-title>. In: <source>Figuras del bien y del mal: La construcci&#243;n cultural de la masculinidad y de la feminidad en el teatro calderoniano. XVII Coloquio Anglogermano sobre Calder&#243;n. M&#252;nster, Alemania, 16-19 de julio de 2014</source>. Ed. by <string-name><given-names>Manfred</given-names> <surname>Tietz</surname></string-name> and <string-name><given-names>Gero</given-names> <surname>Arnscheidt</surname></string-name>. <publisher-name>Editorial Academia del Hispanismo</publisher-name>, <fpage>13</fpage>&#8211;<lpage>16</lpage>.</mixed-citation></ref>
<ref id="B41"><mixed-citation publication-type="book"><string-name><surname>Vishnubhotla</surname>, <given-names>Krishnapriya</given-names></string-name>, <string-name><given-names>Adam</given-names> <surname>Hammond</surname></string-name>, and <string-name><given-names>Graeme</given-names> <surname>Hirst</surname></string-name> (<year>2019</year>). <chapter-title>&#8220;Are Fictional Voices Distinguishable? Classifying Character Voices in Modern Drama&#8221;</chapter-title>. In: <source>Proceedings of the 3rd Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage, Social Sciences, Humanities and Literature</source>. Ed. by <string-name><given-names>Beatrice</given-names> <surname>Alex</surname></string-name>, <string-name><given-names>Stefania</given-names> <surname>Degaetano-Ortlieb</surname></string-name>, <string-name><given-names>Anna</given-names> <surname>Feldman</surname></string-name>, <string-name><given-names>Anna</given-names> <surname>Kazantseva</surname></string-name>, <string-name><given-names>Nils</given-names> <surname>Reiter</surname></string-name>, and <string-name><given-names>Stan</given-names> <surname>Szpakowicz</surname></string-name>. <publisher-name>Association for Computational Linguistics</publisher-name>, <fpage>29</fpage>&#8211;<lpage>34</lpage>. <pub-id pub-id-type="doi">10.18653/v1/W19-2504</pub-id>.</mixed-citation></ref>
<ref id="B42"><mixed-citation publication-type="book"><string-name><surname>Wallach</surname>, <given-names>Hanna M.</given-names></string-name>, <string-name><given-names>Iain</given-names> <surname>Murray</surname></string-name>, <string-name><given-names>Ruslan</given-names> <surname>Salakhutdinov</surname></string-name>, and <string-name><given-names>David</given-names> <surname>Mimno</surname></string-name> (<year>2009</year>). <chapter-title>&#8220;Evaluation Methods for Topic Models&#8221;</chapter-title>. In: <source>Proceedings of the 26th Annual International Conference on Machine Learning</source>. <publisher-name>Association for Computing Machinery</publisher-name>, <fpage>1105</fpage>&#8211;<lpage>1112</lpage>. <pub-id pub-id-type="doi">10.1145/1553374.1553515</pub-id>.</mixed-citation></ref>
<ref id="B43"><mixed-citation publication-type="book"><string-name><surname>Webson</surname>, <given-names>Albert</given-names></string-name> and <string-name><given-names>Ellie</given-names> <surname>Pavlick</surname></string-name> (<year>2022</year>). <chapter-title>&#8220;Do Prompt-Based Models Really Understand the Meaning of Their Prompts?&#8221;</chapter-title> In: <source>Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</source>. Ed. by <string-name><given-names>Marine</given-names> <surname>Carpuat</surname></string-name>, <string-name><given-names>Marie-Catherine</given-names> <surname>de Marneffe</surname></string-name>, and <string-name><given-names>Ivan Vladimir</given-names> <surname>Meza Ruiz</surname></string-name>. <publisher-name>Association for Computational Linguistics</publisher-name>, <fpage>2300</fpage>&#8211;<lpage>2344</lpage>. <pub-id pub-id-type="doi">10.18653/v1/2022.naacl-main.167</pub-id>.</mixed-citation></ref>
<ref id="B44"><mixed-citation publication-type="journal"><string-name><surname>Weitin</surname>, <given-names>Thomas</given-names></string-name> (<year>2017</year>). <article-title>&#8220;Scalable Reading&#8221;</article-title>. In: <source>Zeitschrift f&#252;r Literaturwissenschaft und Linguistik</source> <volume>47</volume>, <fpage>1</fpage>&#8211;<lpage>6</lpage>. <pub-id pub-id-type="doi">10.1007/s41244-017-0048-4</pub-id>.</mixed-citation></ref>
<ref id="B45"><mixed-citation publication-type="book"><string-name><surname>Whitby</surname>, <given-names>William Melcher</given-names></string-name> (<year>1954</year>). <source>Structural Symbolism in Two Plays of Pedro Calderon de la Barca</source>. <publisher-name>Yale University</publisher-name>.</mixed-citation></ref>
<ref id="B46"><mixed-citation publication-type="book"><string-name><surname>Wiegreffe</surname>, <given-names>Sarah</given-names></string-name> and <string-name><given-names>Yuval</given-names> <surname>Pinter</surname></string-name> (<year>2019</year>). <chapter-title>&#8220;Attention is not not Explanation&#8221;</chapter-title>. In: <source>Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)</source>. Ed. by <string-name><given-names>Kentaro</given-names> <surname>Inui</surname></string-name>, <string-name><given-names>Jing</given-names> <surname>Jiang</surname></string-name>, <string-name><given-names>Vincent</given-names> <surname>Ng</surname></string-name>, and <string-name><given-names>Xiaojun</given-names> <surname>Wan</surname></string-name>. <publisher-name>Association for Computational Linguistics</publisher-name>, <fpage>11</fpage>&#8211;<lpage>20</lpage>. <pub-id pub-id-type="doi">10.18653/v1/D19-1002</pub-id>.</mixed-citation></ref>
<ref id="B47"><mixed-citation publication-type="book"><string-name><surname>Wolfe</surname>, <given-names>Robert</given-names></string-name> and <string-name><given-names>Aylin</given-names> <surname>Caliskan</surname></string-name> (<year>2021</year>). <chapter-title>&#8220;Low Frequency Names Exhibit Bias and Overfitting in Contextualizing Language Models&#8221;</chapter-title>. In: <source>Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing</source>. Ed. by <string-name><given-names>Marie-Francine</given-names> <surname>Moens</surname></string-name>, <string-name><given-names>Xuanjing</given-names> <surname>Huang</surname></string-name>, <string-name><given-names>Lucia</given-names> <surname>Specia</surname></string-name>, and <string-name><given-names>Scott Wen-tau</given-names> <surname>Yih</surname></string-name>. <publisher-name>Association for Computational Linguistics</publisher-name>, <fpage>518</fpage>&#8211;<lpage>532</lpage>. <pub-id pub-id-type="doi">10.18653/v1/2021.emnlp-main.41</pub-id>.</mixed-citation></ref>
<ref id="B48"><mixed-citation publication-type="thesis"><string-name><surname>Woods</surname>, <given-names>Adrianne</given-names></string-name> (<year>2013</year>). <chapter-title>&#8220;Female Character Development in Select Works by Lope de Vega, Mar&#237;a de Zayas, and Calder&#243;n de la Barca&#8221;</chapter-title>. MA thesis. <publisher-name>University of South Carolina</publisher-name>. <uri>https://scholarcommons.sc.edu/cgi/viewcontent.cgi?article=2956&amp;context=etd</uri> (visited on 05/23/2025).</mixed-citation></ref>
<ref id="B49"><mixed-citation publication-type="webpage"><string-name><surname>Zaheer</surname>, <given-names>Manzil</given-names></string-name>, <string-name><given-names>Guru</given-names> <surname>Guruganesh</surname></string-name>, <string-name><given-names>Kumar Avinava</given-names> <surname>Dubey</surname></string-name>, <string-name><given-names>Joshua</given-names> <surname>Ainslie</surname></string-name>, <string-name><given-names>Chris</given-names> <surname>Alberti</surname></string-name>, <string-name><given-names>Santiago</given-names> <surname>Ontanon</surname></string-name>, <string-name><given-names>Philip</given-names> <surname>Pham</surname></string-name>, <string-name><given-names>Anirudh</given-names> <surname>Ravula</surname></string-name>, <string-name><given-names>Qifan</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>Li</given-names> <surname>Yang</surname></string-name>, and <string-name><given-names>Amr</given-names> <surname>Ahmed</surname></string-name> (<year>2020</year>). <chapter-title>&#8220;Big Bird: Transformers for Longer Sequences&#8221;</chapter-title>. In: <source>Advances in Neural Information Processing Systems</source>. Ed. by <string-name><given-names>Hugo</given-names> <surname>Larochelle</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Ranzato</surname></string-name>, <string-name><given-names>Raia Thais</given-names> <surname>Hadsell</surname></string-name>, <string-name><given-names>M.F.</given-names> <surname>Balcan</surname></string-name>, and <string-name><given-names>H.</given-names> <surname>Lin</surname></string-name>. <volume>33</volume>. <publisher-name>Curran Associates, Inc.</publisher-name>, <fpage>17283</fpage>&#8211;<lpage>17297</lpage>. <uri>https://proceedings.neurips.cc/paper_files/paper/2020/file/c8512d142a2d849725f31a9a7a361ab9-Paper.pdf</uri> (visited on 06/18/2025).</mixed-citation></ref>
<ref id="B50"><mixed-citation publication-type="journal"><string-name><surname>Zhang</surname>, <given-names>Zijun</given-names></string-name> (<year>2018</year>). <article-title>&#8220;Improved Adam Optimizer for Deep Neural Networks&#8221;</article-title>. In: <source>IEEE/ACM 26th International Symposium on Quality of Service (IWQoS)</source>, <fpage>1</fpage>&#8211;<lpage>2</lpage>. <pub-id pub-id-type="doi">10.1109/IWQoS.2018.8624183</pub-id>.</mixed-citation></ref>
</ref-list>
<sec id="SA">
<title>A. Appendix</title>
<sec id="SA.1">
<title>A.1 Model training details</title>
<p>In order to use the model for our gender classification task, we add a binary classification head on top. We use the character lines from CalDraCor together with the ground truth gender labels as data to tune this classification head. We used the Adam optimizer, a standard gradient descent based optimizer (<xref ref-type="bibr" rid="B50">Zhang 2018</xref>), and considered a range of reasonable hyperparameter values recommended in the literature. The best values for each models are listed in <xref ref-type="table" rid="T7">Table 7</xref> This resulted in a learning rate of 1e-05 for each model. We implemented early stopping to prevent overfitting of the training data.</p>
<table-wrap id="T7">
<caption>
<p><bold>Table 7:</bold> Details on Model training. All models use BETO as the base for creating word embeddings, and are fine-tuned with our data on binary classification. Best performance was found by testing model with various parameters, and implementing early stopping so that model stops at the best performing epoch.</p>
</caption>
<table>
<tbody>
<tr>
<td align="left" valign="top">Input Level</td>
<td align="center" valign="top">Batch Size</td>
<td align="center" valign="top">Number of Epochs</td>
<td align="center" valign="top">Learning Rate</td>
</tr>
<tr>
<td align="left" valign="top">Character</td>
<td align="center" valign="top">24</td>
<td align="center" valign="top">5</td>
<td align="center" valign="top">1e-05</td>
</tr>
<tr>
<td align="left" valign="top">Scene</td>
<td align="center" valign="top">32</td>
<td align="center" valign="top">7</td>
<td align="center" valign="top">1e-05</td>
</tr>
<tr>
<td align="left" valign="top">Utterance</td>
<td align="center" valign="top">32</td>
<td align="center" valign="top">14</td>
<td align="center" valign="top">1e-05</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="SA.2">
<title>A.2 Indicative tokens: English translation</title>
<p>We include here for reference English translations of the words with most extreme attribution scores (-1 to 1) from the character level test data. We also include the number of times each word occurs in the test data. In cases where word fragments appeared (usually they just appeared once in the test data) we identified the words to which the word fragments belong. In the case of &#8217;ton&#8217; the word fragment occurs before the length cut off and therefore the model does not consider it, and &#8217;ton&#8217; alone does not have semantic meaning, so no translation is given.</p>
<table-wrap id="T8">
<caption>
<p><bold>Table 8:</bold> English translations of the most masculine and feminine words in the test corpus. In cases where gender is indicated by the word ending, this is noted. Some word segments have no translatable meanings.</p>
</caption>
<table>
<tbody>
<tr>
<td align="right" valign="top">Masculine Attributions</td>
<td align="center" valign="top">n</td>
<td align="right" valign="top">Feminine Attributions</td>
<td align="center" valign="top">n</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;we (fem.)&#8217;, 0.7763)</td>
<td align="center" valign="top">2</td>
<td align="right" valign="top">(&#8217;ton##&#8217;, -0.8746)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;##jote&lt;- from Don Quijote&#8217;, 0.6984)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8217;tired&#8217;, -0.8000)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;Duke&#8217;, 0.6460)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8217;Ami## &lt;- friend (fem)&#8217;, -0.6729)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;Emperor&#8217;, 0.6105)</td>
<td align="center" valign="top">2</td>
<td align="right" valign="top">(&#8217;public, audience&#8217;, -0.6722)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;Majesty&#8217;, 0.6073)</td>
<td align="center" valign="top">3</td>
<td align="right" valign="top">(&#8217;desperate(fem.), hopeless&#8217;, -0.6178) 2</td>
<td align="center" valign="top"></td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;escu##&#8217; &lt;- shield, 0.6008)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8217;contenta&#8217;, -0.5764)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;troops&#8217;, 0.5860)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8217;all (fem.)&#8217;, -0.4795)</td>
<td align="center" valign="top">16</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;infantry&#8217;, 0.5839)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8217;will wait&#8217;, -0.4431)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;##estre&#8217;&lt;- master, 0.5824)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8217;kiss&#8217;, -0.4076)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;encerrado&#8217;, 0.5733)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8217;minute&#8217;, -0.3882)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;Allah&#8217;, 0.5613)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8217;friends (fem.)&#8217;, -0.3841)</td>
<td align="center" valign="top">2</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;Governor&#8217;, 0.5448)</td>
<td align="center" valign="top">2</td>
<td align="right" valign="top">(&#8217;lady&#8217;, -0.3609)</td>
<td align="center" valign="top">4</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;Nevada&#8217;, 0.5178)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8217;##&#237;simas&#8217;&lt;-most beautiful, -0.3163)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;Fur##&#8217;&lt;-wrath, 0.5095)</td>
<td align="center" valign="top">5</td>
<td align="right" valign="top">(&#8217;Dis##&#8217; &lt;- pretend, conceal -0.3154)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;comrade&#8217;, 0.5076)</td>
<td align="center" valign="top">2</td>
<td align="right" valign="top">(&#8217;##acas&#8217;, -0.3066)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;camp, accommodations, 0.4962)</td>
<td align="center" valign="top">3</td>
<td align="right" valign="top">(&#8217;discourses, speeches&#8217;, -0.2966)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;Fox&#8217;, 0.4954)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8217;##m&#243;n&#8217; &lt;- sermon, -0.2954)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;soldier&#8217;, 0.4922)</td>
<td align="center" valign="top">2</td>
<td align="right" valign="top">(&#8217;body&#8217;, -0.2901)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;tournament&#8217;, 0.4919)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8217;comedy&#8217;, -0.2895)</td>
<td align="center" valign="top">1</td>
</tr>
<tr>
<td align="right" valign="top">(&#8217;servants, foot men&#8217;, 0.4915)</td>
<td align="center" valign="top">1</td>
<td align="right" valign="top">(&#8217;jealous (fem.)&#8217;, -0.2844)</td>
<td align="center" valign="top">1</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
</back>
</article>