Stylometric Authorship Attribution across Early Modern Spanish Literature
Dr Álvaro Cuéllar Ramón y Cajal research proposal
Can an authorial fingerprint survive across literary genres?
Stylometry has helped identify the authors of disputed works by measuring recurring patterns in language. Yet conventional stylometry ceases to be reliable when the texts being compared belong to different genres. The conventions of each genre shape the very patterns used to identify an author, creating a barrier that these methods have so far been unable to overcome. GENBREAK will identify which linguistic features retain evidence of authorship across genres, measure when those features are reliable on works of known authorship, and use that evidence to investigate disputed texts of Spain’s Golden Age.
The genre barrier
If a disputed work survives in prose and a candidate is known chiefly as a dramatist or poet, the surviving texts may be difficult to compare. Authorship becomes harder to assess precisely where the literary record is most uneven.
↗Figure 1. Pilot network. The network links each of 270 samples of 1,000 words to its ten nearest neighbours using Burrows’s Delta on the 500 most frequent words. The graph contains 90 samples each of prose, theatre and poetry. Nodes are arranged by genre for display, and the links represent measured affinities.
Within Golden Age theatre, most of fourteen stylometric methods identified the correct author in more than 95% of cases in a 100-play benchmark. Across genres, published comparisons show why the problem is harder. In Cervantes’s securely attributed repertory, narrative prose separates from most theatre, and a separate authorship-verification study achieved lower scores across prose and theatre than within either genre. GENBREAK will assess these differences using the same test works and candidate lists, with complete works reserved for evaluation.
↗Figure 2. Synthetic illustration of the research aim. The communities, links and author labels illustrate how an author’s works might group across genres if a method can recover an authorial signal. The network is simulated.
Four case studies
Four Golden Age cases illustrate how the same methodological problem arises from different histories of transmission and different kinds of evidence.
Avellaneda’s Don Quixote
The rival continuation of Cervantes’s Don Quixote, published under the name Alonso Fernández de Avellaneda in 1614, intervened directly in Cervantes’s own sequel. A validated cross-genre comparison could bring writers with little surviving prose into the enquiry. Separate tests of narration and dialogue will establish which passages account for the strongest affinities. Blasco 2016
Lazarillo de Tormes
The surviving editions of 1554 are anonymous, and the candidates’ surviving works include very different kinds of prose, as well as verse and drama. GENBREAK will vary the reference material and examine the framing letter, narration and direct speech to see whether proposed affinities persist across these parts of the work. De la Rosa and Suárez 2016
El burlador de Sevilla and Tan largo me lo fiáis
The two versions of the foundational Don Juan play circulated under different names. Stylistic comparisons within drama have found affinities with Andrés de Claramonte, particularly in their shared material. Comparing the common and version-specific passages with independent reference works can help distinguish the authorship of the shared text from possible intervention during transmission. Cuéllar and Vega García-Luengos 2023
The authorial profile of María de Zayas
Rosa Navarro Durán proposed that María de Zayas was a heteronym of Alonso de Castillo Solórzano. GENBREAK will test whether the stylistic profile identifiable in the prose attributed to Zayas persists in her surviving comedy, La traición en la amistad, when poems shared with her prose collections are excluded. Independently attributed texts from Castillo Solórzano’s repertoire will establish how much continuity the comparison can recover across genres. This enquiry provides the focus for the doctoral thesis. Navarro Durán 2019
Unexpected attributions
Beyond the four case studies, GENBREAK will explore the wider corpus using unsupervised methods, including stylometric networks and clustering algorithms. The networks show which works are close in stylistic terms, and clustering algorithms identify groups of similar texts. Both can reveal affinities without assigning works to authors in advance. In our experience, a comparison undertaken to investigate one text can draw attention to a neighbouring work whose authorship was outside the original enquiry. The discovery of La francesa Laura shows what such a lead can yield. A comparison across the theatrical corpus brought the anonymously transmitted play into proximity with Lope de Vega’s works, prompting the philological investigation that supported its inclusion in his repertory.
Approximately 300 anonymously transmitted Golden Age plays provide a substantial field for this wider search. Some may show affinities with securely attributed prose, poetry or other forms of writing by authors who have left little or no securely attributed theatre. These methods will bring such candidates into view, and the project will assess the strongest leads against independent reference texts and the evidence of chronology, transmission and textual borrowing. The resulting record will document the evidence supporting proposed attributions and the reasons for leaving other cases open.
↗An unexpected attribution lead. In this simulated network, links join works with similar stylistic profiles. Unsupervised clustering places an anonymous play in a group otherwise composed entirely of prose and poetry by author A. This makes A the proposed author of the play, subject to scrutiny against textual and historical evidence.
Corpus and methodology
A comparative corpus
TEXORO provides a starting point of 3,146 dramatic records and smaller holdings in prose and poetry. The first phase will prepare approximately 1,000 texts, including 250–300 additional prose works and substantial pieces. Handwritten text recognition, optical character recognition and language models will support transcription at scale, with expert checks on sampled output. The corpus will preserve source transcriptions and a separate version with harmonised orthography for comparison.
Figure 3. Genre affinities within Cervantes’s corpus. The dendrogram and network show separation between prose and most drama and poetry among 36 units by the same author. Reproduced from Hernández-Lorenzo 2023, figures 1 and 3, CC BY-NC-ND 4.0.
Comparing linguistic representations
Starting from a baseline based on frequent words, the project will test grammatical relationships, prosodic patterns and contextual representations of language. The tests will hold out entire works and vary the candidate sets, including cases where the true author is absent. Comparisons across genres will be evaluated alongside same-genre results, with controls for length and topic and the option to leave an attribution unresolved.
Figure 4. Two transformations of literary text. The upper panel derives a prosodic representation from an example in Lope de Vega’s La doncella Teodor. The lower panel illustrates how a language model represents words in context. Cuéllar 2025
Philological validation
The final phase will compare computational findings with textual transmission, chronology, borrowings and documentary evidence. The four case studies provide initial tests, and exploratory networks may also identify affinities involving works outside those cases. A proposed attribution will require converging evidence from the text and its historical record.
Five-year work plan
Months 1–24Corpus construction
Inventory, transcription, harmonisation and verification of the reference corpus.
Months 25–42Computational experiments
Benchmarking, cross-genre tests and a planned three-month stay with Mike Kestemont at the University of Antwerp.
Months 43–60Philological validation
Review of proposed attributions, publication of findings and release of reusable research materials.
↗Detailed timetable. The chart includes the parallel doctoral work on Zayas, publications, conferences, workshops and the twenty milestones.
Scientific and cultural impact
A more reliable attribution can change how a work is catalogued, edited, taught and understood. It can also return texts to the attention of theatres, publishers and readers.
Recent research on works such as La francesa Laura and La monja alférez illustrates how attribution research can reach audiences through editions, productions and public coverage. GENBREAK will release the corpus where rights permit, publish the code and document the evidence behind the proposed attributions. Its enquiry into Zayas also addresses a practical problem for literary history. Writers represented by few surviving works in any one genre can be difficult to include in a conventional reference corpus, even when substantial material survives in other forms.