Hylog: A Hybrid Approach to Logging Text Production in Non-alphabetic Scripts

Roberto Crotti*, Giovanni Denaro*, Zhiqiang Du*, Ricardo Muñoz Martín* · 2026

Read Hylog: A Hybrid Approach to Logging Text Production in Non-alphabetic Scripts by Roberto Crotti*, Giovanni Denaro*, Zhiqiang Du*, Ricardo Muñoz Martín* (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2601-17753.txt.

Introduction

Roberto Crotti, Giovanni Denaro, Zhiqiang Du, and Ricardo Muñoz Martín tackle a gap in writing research. Their 2026 preprint presents Hylog, a tool for logging how people type. Most keyloggers miss the changes made by input method editors, the software that builds characters for scripts that are not based on an alphabet. That blind spot has limited studies of text work in such scripts.

Hylog joins two kinds of logging in one system. One side tracks each key press in fine detail. The other side tracks the text as it grows on screen. Put together, the two views give a fuller record of how a text is built. The tool is meant for researchers who study the mental steps of writing.

Catalog record

CREATORRoberto Crotti*, Giovanni Denaro*, Zhiqiang Du*, Ricardo Muñoz Martín*
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE78 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2601-17753

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Hylog: A Hybrid Approach to Logging Text Production in Non-alphabetic Scripts Thanks: * Equal contribution. This work was supported by co-financing from the Italian National Research Plan PRIN 2022, within the EU initiative Next Generation EU, awarded to Ricardo Muñoz [2022EYX28N]. All authors are members of the research team associated with this project. Roberto Crotti*, Giovanni Denaro*, Zhiqiang Du*, Ricardo Muñoz Martín* Abstract Research keyloggers are essential for cognitive studies of text production, yet most fail to capture the on-screen transformations performed by Input Method Editors (IMEs) for non-alphabetic scripts. To address this methodological gap, we present Hylog, a novel hybrid logging system that combines analytical keylogging with ecological text logging for a more complete and finer-grained analysis. Our modular, open-source system uses plug-ins for standard applications (Microsoft Word, Google Chrome) to capture both keyboard output and rendered text, which a hybridizer module then synchronizes into a dual trace. To validate the system’s technical feasibility and demonstrate its analytical capabilities, we conducted a proof-of-concept study where two volunteers translated a text into simplified Chinese. Hylog successfully captured keypresses and temporal intervals between Latin letters, Chinese characters, and IME confirmations—some measurements invisible to traditional keyloggers. The resulting data enable the formulation of new, testable hypotheses about the cognitive restrictions and affordances at different linguistic layers in IME-mediated typing. Our plug-in architecture enables extension to other IME systems and fosters more inclusive multilingual text-production research. This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible. I Introduction The generalized digitalization of text-production processes has settled keyloggers as core tools to study the cognitive processes involved. Keyloggers yield detailed recordings of human–computer interactions during text production through computer-based input mechanisms, and researchers infer various aspects of the processes happening in the minds of the typists based on their analyses of those recordings [ 6 ] . Keyloggers enable researchers to examine how keystroke latencies, typing speed, and revisions relate to text quality in both L1 and L2 writing [ 40 ] and expertise development [ 46 ] . Integration with other tools, such as screen recording [ 10 , 31 ] , further captures writers’ interactions with auxiliary tools such as web browsers and dictionaries [ 19 ] . The analysis of interkeystroke-intervals, or IKIs—the time span or latency between releasing a key and pressing the next one—has also been applied to research on translation processes [ 18 , 27 ] and in biometric studies. Keyloggers offer two critical advantages: temporal precision and unobtrusiveness [ 28 ] . Temporal precision refers to millisecond-level timestamps that enable measurement of typos, corrections, and intervals that may signal diverse mental states and processes. Unobtrusiveness ensures ecological validity by monitoring keyboard and mouse activities invisibly during text production, avoiding the interference associated with think-aloud protocols, cued retrospection, and human observation [ 39 ] . However, not all applications that register typists’ interactions are strictly keyloggers. We use input loggers as an umbrella term to refer to all research applications that register the typists’ text production as they interact with computers. Input loggers can be classified as either keyloggers or text loggers , and offer different degrees of temporal precision and unobtrusiveness. To the best of our knowledge, five applications have been used for academic research [ 44 ] : CyWrite [ 11 ] , GenoGraphiX-Log [ 4 ] , Inputlog [ 20 ] , ScriptLog [ 16 ] , and Translog II [ 5 ] . Text loggers , like Translog II, record on-screen text output and can capture any visual event. However, they miss keyboard events that do not manifest visually, such as those produced by modifier keys and other non-printing keys. Text loggers generally have lower temporal precision than keyloggers because operating system software layers can introduce unpredictable delays in how input events are rendered on screen. Keyloggers such as GenoGraphiX-Log, CyWrite, Scriptlog, and Inputlog record keyboard outputs directly through low-level operating system hooks. Low-level integration with the operating system enables these tools to record keystroke events with very accurate temporal precision. Nevertheless, except for Inputlog, these keyloggers require typists to enter text within a built-in text area with a rudimentary internal text processor. They can thus be described as non-ecological in that they constrain typists to dedicated interfaces rather than allowing them (as Inputlog does) to use common text processors and tools. Such loggers are rarely deemed unobtrusive, which is why researchers have largely abandoned them. At the time of this research, we could not locate a downloadable release of ScriptLog. Similarly, the current release of CyWrite on GitHub is just demonstrative and can hardly support empirical research. Consequently, Inputlog has become the most widely adopted keylogger in text-production studies. We consider the general lack of appropriate tools a crucial limitation, as most research findings rest on experiments using alphabetic languages, with limited attention to quantitative analyses of text-production processes in non-alphabetic scripts. This limitation reflects structural differences: entering text in Chinese differs fundamentally from alphabetic typing in ways that determine what keyloggers can capture and analyze. Several features of Chinese and the way it is typed in illustrate why. First, Chinese is a tonal language, which means that different words with the same sounds have different meanings and characters depending on their intonation. Second, Chinese words vary considerably in length. Most everyday words have two characters whose meanings blend—often with the second character as the head and the first as a modifier. However, technical vocabulary often has three, four, or more characters, and four-character expressions like chengyu idioms (成语)are common in writing. Term length depends on how the underlying concept breaks down into morphemes. 1 1 1 In alphabetic languages, words combine minimal meaningful components, called morphemes , such as roots and suffixes, as opposed to syllables, which do not necessarily mean anything by themselves. For instance, in visible , invisible , and visibility , vis is the root or stem, while -ible , in- , and -ity are affixes. In Chinese, each character sounds like a syllable but carries meaning and roughly corresponds to a morpheme. In a way, then, Chinese words combine components of more balanced semantic weight. Third, alphabetic languages use spaces to separate words but Chinese does not. Both humans and computers need to identify or infer word boundaries instead. Tone-blind transcription, morphological variability and lack of word boundaries make segmentation quite challenging. Many current input methods for non-alphabetic scripts do not link physical keystrokes directly to characters. Instead, non-alphabetic strings result from interposed applications known as Input Method Editors (IMEs), which mediate between the alphabetic (typically QWERTY ) keyboard and the symbols of the target script. In Chinese, for example, typists typically use the pinyin (’spell-sound’) input method: they type Roman alphabet letters (Latin letters) to enter phonetic transcriptions of Chinese characters. However, in pinyin input, tones are ignored. This means that a single pinyin transcription can match many different characters. A Chinese IME configured within the writing software (e.g., Microsoft Word) dynamically presents sets of candidate characters matching the typed pinyin transcription. These characters are listed by decreasing likelihood, mainly based on frequency. The typist then chooses one character, typically by

Read the complete text