NightmareDiscourseBench: A Benchmark Dataset for Fictional Direct Discourse Identification Pipelines

Claudia Carroll, Gabi Kirilloff, Dashiell LeigharXiv 2026

TL;DR

Think identifying dialogue in a novel is as easy as finding quotation marks? Think again. This paper introduces NightmareDiscourseBench, a "stress test" dataset of literary edge cases designed to break even the most sophisticated NLP pipelines by highlighting the messy, non-standard ways authors actually represent speech, thought, and text.

What Problem Does This Paper Address?

In the world of Computational Literary Studies, identifying "direct discourse"—the verbatim report of a character's words or thoughts—is often treated as a trivial pre-processing step. The logic usually goes: "Just find the text inside the quotation marks."

However, the authors argue this is an "assumption of triviality." Real literature is rarely that polite. Authors use "scare quotes" to indicate irony, omit quotation marks entirely (common in 18th-century or experimental works), or embed letters and newspaper clippings that confuse standard rules-based systems. Existing benchmarks (like LitBank or RiQuA) tend to focus on "tidy" 19th-century realist novels, often sampling only the first few thousand words where the prose is most conventional. This creates a blind spot: we don't actually know how well our models handle the "nightmare" scenarios that make literature interesting.

Methods

The authors developed a framework based on narrative theory to move beyond simple "quote detection." They categorize direct discourse into four buckets:

  1. Direct Speech: Verbatim spoken words.
  2. Direct Thought: Verbatim internal monologue.
  3. Embedded Text: Written words within the story (letters, advertisements).
  4. Other: Ambiguous edge cases (like scare quotes) that challenge identification.

To build the benchmark, they manually selected 12 text samples (~3,000 words each) specifically for their complexity. The annotation process involved three rounds: two independent passes by research assistants followed by an expert resolution phase by a narrative theorist. Unlike previous datasets, they also included rich metadata for each sample, such as the specific type of quotation marks used (or lack thereof) and the narrative perspective (e.g., first-person vs. epistolary).

Datasets

The paper reviews three existing publicly available benchmarks:

  • LitBank: Large and diverse, but limited to the "tidy" first 2,000 words of novels.
  • Quote Annotator: Thorough (full novels) but conceptually fuzzy.
  • RiQuA: Strong theoretical framing, includes indirect speech, but lacks typographical variety.

The new entry is NightmareDiscourseBench (NDB). It distinguishes itself by providing metadata that the others lack, as seen in the comparison below:

Table 2: Metadata available for existing test sets and NightmareDiscourseBench

Key Insights and Ideas

  • The "Opening Chapter" Bias: Most datasets sample the start of a book. The authors point out that openings are often "formally tidy" as the author introduces the world. The "messiness" (and the density of dialogue) usually ramps up later, meaning existing models are trained on the "easy" parts of books.
  • Quotation Marks are Unreliable: In Samuel Richardson’s Pamela, speech is reported using tags (e.g., "Said he, Why...") without any quotation marks. A rules-based system would miss 100% of the dialogue.
  • Span Length Matters: NDB contains much longer spans of discourse (mean length of 38.42 tokens) compared to other benchmarks (~16-19 tokens). This is because it includes multi-paragraph speeches and embedded letters, which are notorious for "breaking" quotation-mark-based extractors.
  • The Utility of "Other": By explicitly tagging ambiguous cases like scare quotes, the researchers allow developers to see exactly where their models are being tricked into false positives.

Key Results

The researchers tested BookNLP, a popular tool for processing fiction, against NDB and the three existing benchmarks.

While BookNLP performed well on "standard" sets (achieving an 0.88 F1 score on LitBank), its performance on NDB was lower (0.77 F1) and showed much higher variance. Specifically, NDB exposed a cluster of texts where the model struggled in the 0.6-0.8 F1 range—a "difficulty gap" that the other benchmarks failed to highlight.

The diversity of the NDB samples is summarized in their metadata table:

Table 1: Summary metadata for NightmareDiscourseBench

Limitations and Future Work

The primary limitation is scale. Because NDB requires intensive expert review and manual selection of "difficult" passages, it is small (12 samples). It is intended as a test set, not a training set.

Additionally, the current version is limited to public domain texts, which skews the dataset toward 18th and 19th-century works. The authors plan to expand the benchmark to include more early 20th-century texts and are currently developing an LLM-based pipeline designed to handle the nuances of direct thought and embedded text more effectively than current rules-based tools.

Summary updated

BibTeX
@misc{carroll2026nightmarediscoursebench,
  author = {Claudia Carroll and Gabi Kirilloff and Dashiell Leigh},
  title = {{NightmareDiscourseBench: A Benchmark Dataset for Fictional Direct Discourse Identification Pipelines}},
  year = {2026},
  eprint = {2611.27059},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27059},
}
Figure