Skip to main content
Have a personal or library account? Click to login
A Corpus of Keystroke Logging From Children and Adult Writing Cover

A Corpus of Keystroke Logging From Children and Adult Writing

Open Access
|Sep 2026

Full Article

(1) Overview

Repository location

Children: https://doi.org/10.34847/nkl.efd4cj19

Adults/planning: https://doi.org/10.34847/nkl.f1160485

Adults/translating: https://doi.org/10.34847/nkl.2eaeen75

Adults/reviewing: https://doi.org/10.34847/nkl.cbebdepw

Context

The corpus was constructed within the frame of the Pro-TEXT project (Cislaru & Sfeir, in press) that aims to understand the textualization process, that is, how texts are progressively constructed by assembling segments of texts, through psychological, linguistic, and textual genetics perspectives. The process of textualization is investigated by analyzing bursts of writing, which are uninterrupted sequences of text production (i.e., between two consecutive pauses; Kaufer et al., 1986). Analyzing their temporal and spatial parameters alongside their linguistic content aims to reveal the underlying cognitive and linguistic mechanisms engaged for producing meaning in texts. A key theoretical principle is that the characteristics of bursts result from the interaction between processing at different levels of representation (Olive, 2014) and from contextual constraints (Cislaru & Olive, 2018).

Keylogging is often used to analyze typing behavior and text composition. It provides valuable insights into how dynamics of text production (assessed through typing speed, pause length, error patterns, bursts of writing) varies according to different constraints related to writers or writing contexts (for reviews, see Lindgren & Sullivan, 2019).

The corpus is composed of two datasets of keystroke logs:

  • – The adult dataset: This dataset includes keystroke logs from adults who composed texts in three experimental conditions that manipulated processing demands of each main writing process. It allows comparing typewriting when the demands of writing processes vary.

  • – The children dataset: This dataset includes keystroke logs from children of different grades who composed two types of texts. It allows comparing typewriting when the grade (grades 3, 5, and 6) and the type of text (narrative and expository texts) vary.

They allow investigation of how different constraints affect temporal characteristics of bursts and the text segments they contain by respectively investigating high-level processing demands, learning differences and text genre effects.

(2) Method

Typewriting was recorded using Inputlog (Leijten & Van Waes, 2013), which captures all keystrokes, pauses, mouse movements, and timestamps. Data collection was conducted in individual sessions (one participant at a time). The supplementary files in the repositories provide specific and detailed information about the methods used to collect the keylogs.

Adult Corpus

Study Design

The initial dataset investigated the effect of the writing modality when processing demands of higher-level writing processes vary. For all experimental conditions, each writer produced two argumentative texts, one in each modality (handwriting versus typewriting). Data collection followed a within-participant design for the writing modality, with each session separated by approximately two weeks. Notice that the online datasets accompanying this publication only include the typed data. We do not present the handwriting data since there is no solution available for automatic processing and extraction of variables.

Three sub-corpora are distinguished by the systematic manipulation of processing demands through a between-participants design:

  • – Experiment 1 focused on the planning process by manipulating topic familiarity.

  • – Experiment 2 targeted the translating process by saturating the phonological loop through the presence of background speech, compared to a silent control condition.

  • – Experiment 3 addressed the monitoring and control processes by manipulating visual feedback (whether the text is visible or not on the computer screen).

Sample

The sample included students from the University of Poitiers (see Table 1), all enrolled in the second year of a Psychology degree. All participants were native French speakers and reported no attentional, linguistic or learning disorders. Data were collected from 2017 to 2018.

Table 1

Data collection summary for adults’ sub-corpus.

EXPERIMENTOBJECTIVEWOMENMENnMEAN AGE (SD)
1: PlanningImpact of conceptual preparation demands47136019.9 (1.6)
2: TranslatingImpact of linguistic formulation demands52126419.9 (2.1)
3: ReviewingImpact of reviewing and error-correction demands6197020.6 (3.6)

Data Anonymization and Ethical Issues

The study was conducted in accordance with the ethical principles of the Declaration of Helsinki. Participants were recruited through a course credit system and provided free and informed consent before starting the experiment.

Existing Use of Data

These data were originally collected and analyzed in the frame of Sirine Bouriga (2020)’s doctoral thesis, entitled “Papier-crayon vs. écran-clavier : Effets sur le coût cognitif et sur la dynamique de la production de textes” (Pen-and-paper vs. keyboard-and-screen: Effects on cognitive cost and text production dynamics). Data corresponding to bursts characteristics such as duration, size, fluency within bursts and type of burst (Production, Delayed-Revision or Immediate-Revision) have been used in Miletic et al. (2022) and Cislaru et al. (2025a; 2025b).

Children Corpus

Study Design

Data were collected in the children’s schools. The children completed writing tasks using a computer equipped with an AZERTY keyboard. Participants produced two types of texts: a narrative and an expository text (20 minutes each, with counterbalanced order).

Sample

Data were collected across three schools in the Académie de Poitiers (86000, France; see Table 2 for details). All participants were native French speakers who did not present any language or learning disorders as reported by parents.

Table 2

Number of participants in the children sub-corpus.

GRADENWOMENMEN
3rd281612
5th291514
6th412516
Total985642

Data Anonymization and Ethical Issues

This study was conducted in accordance with General Data Protection Regulation (GDPR). Participation required informed consent from both parents and children. At the very beginning of the experiment, children were explicitly informed, orally and in writing, that participation was entirely voluntary and that they could withdraw at any time without any consequences. Ethical approval was granted by the Comité d’Ethique pour la Recherche sur la Personne des Universités de Tours et de Poitiers (CER-TP 2025-04-07). Participants were anonymized using a unique code combining grade (C6 for Grade 6, CM2 for Grade 5, and CE2 for Grade 3), participant number (e.g., P01), and text condition (E for Expository, N for Narrative). For example, C6P01E identifies the first Grade 6 participant in the expository condition.

Existing Use of Data

Data corresponding to burst characteristics such as duration, size, fluency within bursts and type of burst (Production, Delayed-Revision or Immediate-Revision) have been used in a poster presented in the Writing Words Workshop at Oxford Brookes University in June 2025 (Houssein, Olive & Bordes, 2025) and in a study comparing the data produced by typical children and children with dyslexia (Cislaru et al., 2024).

Data Processing: Extraction of Bursts of Writing and Burst Segmentation

All bursts of writing were extracted using Bursted!, a Python-based application developed within the Pro-TEXT project (Bordes, Olive & Cislaru, 2025). This tool automates the extraction of bursts and their associated variables from raw keylogging files (Inputlog .idfx format) through a multi-stage pipeline. First, the application processes each key log file to filter out non-writing activities. It retains only keystrokes that change the current state of the text by adding or deleting characters (including spaces), while correcting complex events such as French accents or erroneous inserts. This stage produces a cleaned event log used as the basis for further processing. In a second step, a segmentation procedure identifies the textual segments with either a fixed corpus-wide threshold or an individualized threshold. Third, each burst is categorized based on its textual function and is associated with its temporal data. Finally, an output table (in .csv format) is constructed with all bursts’ metrics (see Table 3).

Table 3

Description of variables and special characters that can be found in the bursts’ .csv table.

VARIABLES
NOMDESCRIPTION
full_idWriting session ID
ThresholdPause threshold (in ms)
SessionNumber of writing sessions/type of text
writer_idWriter’s id
n_burstBurst number
burst_contentBurst content
burst_typeBurst type (P-Production, IR-Immediate Revision, DR-Distant revision)
burst_start_timeStart time for beginning of burst
burst_durationBurst duration (in sec.)
pause_durationDuration of pause before burst (in sec.)
cycle_durationCycle (pause + burst) duration
pause_percentPercentage of pause duration in a cycle duration
burst_percentPercentage of burst duration in a cycle
burst_pause_ratioBurst/pause ratio
burst_start_posCursor position at the beginning of the burst
burst_end_posCursor position at the end of the burst
document_lengthText length (in characters)
burst_lengthBurst length (in characters)
typing_lengthNumber of keystrokes for producing the burst (characters + spaces + suppressions)
typing_speedBurst typing speed (number of characters per second)
typing_contentList of all keystrokes needed for producing the burst (characters + spaces + suppressions)
SPECIAL CHARACTERS
CHARACTERDESCRIPTION
⌫Suppression to the left
⌦Suppression to the right
˽Space
↲Line break
⇆Tabulation
<Trigger for beginning of text insertion or substitution (several characters at once)
>Trigger for end of text insertion or substitution
ˣBeginning and end marker of a simulated insertion in case of misalignment of text and log.
#False character added in the text for realigning text and log when problems of alignment.
¦Break of spatial continuity within a burst (move below the threshold)

Because the pause threshold used to segment writing into bursts directly affects their characteristics, we employed an individualized threshold (see Bouriga, 2020). Specifically, we first calculated the percentile that corresponded to the standard 2-second literature threshold in the overall pause distribution of all participants in an experiment. Next, this percentile was applied to each individual pause distribution. The pause length that corresponded to this percentile was used as the individual threshold. Then, extracted bursts were categorized by textual function into Production bursts (P-bursts, creating new text at the leading edge) and Revision bursts (R-bursts, modifying existing text). The latter were subdivided into Immediate revision-bursts (IR-bursts, altering the text directly to the left of the cursor) and Delayed revision-bursts (DR-bursts, modifying text outside the most recent production zone).

(3) Dataset Description

Repository Names and File Structure

The two datasets and their associated resources are hosted on the Nakala repository from the Huma-Num infrastructure. The collection includes the child-based and the three adult-based datasets (one for each experiment, see Table 1). These datasets are available for download and consultation.

Data Files and Metrics

The files for the children’s dataset are organized into six files:

  • – The main data file (.csv format) that contains all variables extracted from the corpus with Bursted! (see Table 3).

  • – A .zip file that includes the individual .idfx keylogs files and the corrected and original texts in .rtf and text formats.

The adults’ dataset is organized in the same way but does not contain the corrected texts. The corrected versions of the adult texts are not included in the repository because they were not required for previous text analyses since adults made few spelling errors, by contrast with children.

Language

All texts in the corpora are in French.

License

The license is Creative Commons Attribution Non-Commercial Share Alike 4.0 International (CC-BY-NC-SA-4.0).

Publication Date

The corpora were made public in April 2026.

(4) Reuse Potential

The datasets have high reuse potential, enabling researchers in cognitive psychology, educational sciences and computational linguistics to study text generation through cross-sectional developmental analyses (contrasting children and adults), cognitive load evaluations (examining adults’ planning, translation and review processes) or the effects of discourse genre (narrative versus expository texts). Additionally, the raw keylogs paired with the Python pipeline enable computational linguists to validate alternative segmentation models. However, there are some reuse limitations: language specificity (strictly French texts and typographic rules), modality disparity (the child data is exclusively typewritten), and participant homogeneity in the adult sample (limited to a narrow age bracket of psychology students).

Acknowledgements

The authors thank Sirine Bouriga for collecting the adult dataset, as well as all the children and the teachers who participated in the research project.

Author Contributions

Tatiana Houssein: Investigation, Writing (original draft, review and editing).

Thierry Olive: Conceptualization, Funding Acquisition, Investigation, Project administration, Resources, Supervision, Writing (review and editing).

Georgeta Cislaru: Funding Acquisition, Investigation, Validation, Writing (review and editing).

Caroline Bordes: Data Curation, Formal Analysis, Investigation, Software, Formal Analysis, Visualization.

DOI: https://doi.org/10.5334/johd.609 | Journal eISSN: 2059-481X
Language: English
Page range: 124 - 124
Submitted on: Jun 24, 2026
Accepted on: Aug 8, 2026
Published on: Sep 22, 2026
Published by: Ubiquity Press
In partnership with: Paradigm Publishing Services

© 2026 Tatiana Houssein, Thierry Olive, Georgeta Cislaru, Caroline Bordes, published by Ubiquity Press
This work is licensed under the Creative Commons Attribution 4.0 License.