The CLiGS Textbox

poster / demo / art installation
  1. 1. José​ Calvo Tello

    Julius-Maximilians Universität Würzburg (Julius Maximilian University of Wurzburg)

  2. 2. Ulrike Henny-Krahmer

    Julius-Maximilians Universität Würzburg (Julius Maximilian University of Wurzburg)

  3. 3. Christof Schöch

    Universität Trier

  4. 4. Katrin Betz

    Julius-Maximilians Universität Würzburg (Julius Maximilian University of Wurzburg)

Work text
This plain text was ingested for the purpose of full-text search, not to preserve original formatting or readability. For the most complete copy, refer to the original conference program.

This poster presents the textbox

published by the CLiGS
CliGS (Computational Literary Genre Stylistics) is an early career research group funded by the German Federal Ministry for Research and Education (BMBF).
group both from the perspective of creating the textbox and of using it for research. The poster will highlight key aspects of the manner in which the collections of literary texts included in the textbox have been compiled, annotated and published. Furthermore it suggests several ways in which the text collections can be used for research in literary studies. This poster aims to showcase the unique XML-TEI-based collections we make available and to encourage their re-use by others.

What is the textbox?
The CLiGS textbox is dedicated to making collections of literary texts in Romance languages freely available. It currently contains novels, novellas and short stories published between 1830 and 1940 in France
The French collection was partly compiled and annotated by Stefanie Popp., Spain, Italy, Portugal, and Spanish-America as well as plays published between 1640 and 1680 in France with a total of 357 texts or about 14 million words. The texts are published in XML-TEI as well as in plain text versions and include detailed document-level metadata. All texts are in the public domain and the XML-TEI markup including the metadata is published with a Creative Commons Attribution license (CC-BY) or in case of the Italian novels with a NC-SA-BY. The text collections are curated and published using a public GitHub repository. In addition, main releases are automatically archived on, a long-term data and publications archiving service for researchers across Europe managed by OpenAire and supported by CERN (see Nielsen, 2013). Each release receives a DOI (Digital Object Identifier), providing the unambiguous identification and long-term availability of the resource.

Text selection
The individual text collections were created with various usage scenarios in mind, and each collection has been compiled in a slightly different manner. For example, the two collections of Spanish novels, the
Corpus of Spanish Novels (1880-1940) and the
Collection of 19th century Spanish-American Novels (1880-1916), have been prepared to be used for authorship attribution. Accordingly, the two collections have been balanced with regard to the number of texts from different authors. The poster will give an overview of the sub-collections of the textbox and also about the principles guiding their compilations.

File Formats
Independently of their original source format (e.g. html or EPUB), the texts are prepared (with Python scripts or XSLT) according to a common TEI schema established by the CLiGS group

. In addition to that reference format, each collection is made available in a simple plain text format automatically derived from the XML-TEI version, containing only the text included in the body of the novels and plays (in particular, excluding prefaces, other paratext, or notes) and with external metadata provided in tabular format.

Moreover, the collections of French, Spanish, Spanish-American, and Portuguese novels as well as the Italian short stories are made available in a version combining basic structural markup (chapter and sentence divisions) with token-level linguistic annotation, including lemma, part-of-speech, morphology, and basic semantic annotation using Freeling (cf. Padró and Stanislovsky, 2012) and WordNet (see Figure 1). Finally, the collection of French plays is not only available in XML-TEI, but also in the “Zwischenformat” developed by the DLINA group (Kampkaspar et al., 2015).

Linguistic annotations in an XML format that is a minimal departure from the TEI standard to allow multiple token-level annotations

Besides the administrative metadata like license, responsibility etc. the collections focus on descriptive metadata. There are four main areas about which information is documented: metadata concerning the authorship (VIAF, name, country, gender), metadata concerning the literary work and editions (VIAF or other identifier, extent of the texts, print and the digital source), and finally metadata concerning the genre: Since the main focus of the project is literary genre, a considerable part of the metadata is directly connected to it. Any reference to genre in the title of the work is collected as a genre label. Besides that, a hierarchical system is used, comprising supergenre (e.g. “narrative” or “drama”), genre (that is, novels or novellas), subgenre (the subtype of the novel, for example “adventure novel” or “political novel”) and subsubgenre (optional, used for further differentiations like “war novel”).

Usage Scenarios
There are many possible use cases for the textbox collections. The poster will demonstrate some results of these methods from the areas of authorship attribution (using the stylo package for R; Eder et al., 2016), network analysis (using NetworkX in Python), and topic modeling (using MALLET with “tmw” for Python). These scenarios are intended not only as examples of analyses conducted within the CLiGS group, but also as suggestions for potential users of the CliGS textbox, Figure 2 and 3 demonstrate some results for authorship attribution and network analysis.

Authorship attribution, results of cosine delta on the Corpus of Spanish Novels (cf. Smith and Alridge, 2011; Evert et al., 2017)

Character network based on number of words spoken in mutual presence (represented by the thickness of the lines), for Jean Racine's tragedy Britannicus (1669)


der, M., Kestemont, M. and Rybicki, J. (2016). Stylometry in R: A package for computational text analysis. In
The R Journal, 16 (1): 1-15.

vert, S., Proisl, T., Jannidis, F., Reger, I., Pielström, S., Schöch, C. and Vitt, T. (2017). Understanding and explaining Delta measures for authorship attribution. In
Digital Scholarship in the Humanities, 32 (suppl_2): ii4-ii16. doi: 10.1093/llc/fqx023
(accessed April 26 2018).

ampkaspar, D., Fischer, F. and Trilcke, P. (2015). Introducing Our ‘Zwischenformat’. In
Network Analysis of Dramatic Texts.
(accessed April 26 2018).

Nielsen, L. H. (2013). ZENODO – An innovative service for sharing all research outputs. In
Zenodo. doi: 10.5281/zenodo.6815
(accessed April 26 2018).

Padró, L. and Stanislovsky, E. (2012). FreeLing 3.0: Towards Wider Multilinguality. In
Proceedings of the Language Resources and Evaluation Conference (LREC 2012). Istanbul, Turkey: ELRA.
(accessed April 26 2018): 2473-2479.

Smith, P. W. H. and Alridge, W. (2011). Improving Authorship Attribution: Optimizing Burrows’ Delta Method. In
Journal of Quantitative Linguistics, 18(1): 63-88. doi: 10.1080/09296174.2011.533591.

If this content appears in violation of your intellectual property rights, or you see errors or omissions, please reach out to Scott B. Weingart to discuss removing or amending the materials.

Conference Info


ADHO / EHD - 2018

Hosted at El Colegio de México, Universidad Nacional Autónoma de México (UNAM) (National Autonomous University of Mexico)

Mexico City, Mexico

June 26, 2018 - June 29, 2018

340 works by 859 authors indexed

Conference website:

Series: ADHO (13), EHD (4)

Organizers: ADHO