Elamur Research

SLäNDa version 2.0: Improved and Extended Annotation of Narrative and Dialogue in Swedish Literature

Paper · 2022 · Sara Stymne and Carin Östman

Summary

A reader can often tell where a fictional character stops speaking and the narrator takes over, even when the text gives no closing mark. A computer has to learn what makes that boundary recognizable. Swedish fiction makes the problem especially clear. Some works enclose speech in quotation marks. Others place a dash at the beginning of an utterance and leave its end to the reader. Still others give most utterances no special punctuation at all. SLäNDa 2.0 is a collection of Swedish fiction with human labels that make it possible to study these differences and test whether a system can recover the boundaries.

The collection contains selections from 19 works published across 1809–1940, with 274,704 tokens in total. Its linguistic annotation distinguishes direct speech from the surrounding narration and records the clauses that introduce or attribute speech. It also identifies speakers where possible and labels material such as thoughts, letters, and signs so that these passages can be distinguished from the main narrative. The authors review the earlier annotations, extend the collection to include short-story collections and more authors, and give annotators a way to distinguish ordinary reporting clauses from passages that serve a similar purpose through different wording.

The new test sets make two questions easier to examine. How well does automatic detection work under different punctuation conventions? How well does it work on books and authors absent from the training set? The strongest result for identifying complete utterances in quotation-marked text is an exact-match F1 of 93.3, obtained with the original punctuation present during training and testing. When speech has no consistent markers, removing dialogue punctuation from the training texts can help. On the larger test set of naturally unmarked speech from previously unseen authors, this change raises speech-segment F1 from 72.7 to 75.3 and reporting-clause F1 from 70.0 to 73.7. The smaller unmarked set, drawn from a book also represented in training, goes in the opposite direction.

The paper’s contribution is both the enlarged corpus and an evaluation that makes the circumstances of each result visible. Recognizing the words of an utterance, finding its exact edges, and identifying the clause that tells the reader who spoke pose different problems. Punctuation can give strong evidence for the edges of an utterance, while removing it during training can help a system prepare for texts in which that evidence is scarce. The authors release SLäNDa 2.0 under a Creative Commons license.

Deep dive: SLäNDa version 2.0: Improved and Extended Annotation of Narrative and Dialogue in Swedish Literature

SLäNDa 2.0 expands a corpus of Swedish fiction and tests how quotation marks, dashes, and their absence affect the detection of dialogue. · about 34 minutes to read

The problem and its context

Where the character’s words end

When a character speaks in a novel, a line can move through several kinds of text in quick succession. The character says something, the narrator identifies the speaker, and the character continues. The narrator may then describe what happened next. A reader follows these changes by combining punctuation, syntax, and knowledge of the scene. For a study that compares the language of characters with the language of narrators, those changes have to be recorded as boundaries. A line containing speech may also contain words that belong to the narrator, and a line containing a reporting clause may include more narration beyond that clause.

The paper illustrates this with an exchange in Strindberg. A pastor addresses the people in front of him, a short passage identifies him as the person taking the floor, and his question follows. A dash marks the start of the address. The return to the pastor’s words after the intervening passage has to be inferred. In an example from Nordström, a character gives a brief command, the narrator attributes the command to him, and the text moves on to what the people do. In that case special typography gives the reader no opening boundary. The two examples call for the same basic decisions about whose words appear where, even though one supplies a mark that the other leaves out.

A speech tag is the part of the narrator’s text that presents or attributes an utterance. In the simplest case, it names a person and says that this person answered, asked, or shouted. The tag can occur before the character’s words, after them, or inside a longer turn. Its connection to the utterance makes it useful for identifying the speaker. Its location also makes it a source of errors in an automatic separation of dialogue and narration. A system can find the beginning of a turn and still carry the speech label across a reporting clause that interrupts it.

Quotation marks often help on both sides of a span. A dash often supplies just an opening cue. Even that description is a convention with exceptions. Some writers add further dashes around an interruption, while a work that generally leaves speech unmarked may mark occasional exchanges in a different way. A punctuation rule that works on a particular book can therefore embody that book’s habits more closely than it reflects Swedish literary dialogue in general. The paper treats typography as an observable property of the test material so that performance can be examined under those different habits.

Why separate dialogue and narration?

One motivation comes from historical linguistics. The paper describes a period when written Swedish began to adopt features associated with a more conversational style. The authors discuss earlier research that observed this development in fiction and proposed that direct speech might help explain why fiction showed it early. Because a character’s utterances can draw more heavily on spoken usage than the surrounding narration, comparing the two within literary works offers a way to investigate how a written convention changes.

To make that comparison, it matters where a word occurs. A word in a character’s utterance and the same word in a narrator’s account both count as uses in fiction. They answer different questions about the distribution of a linguistic feature. A mistaken dialogue boundary can quietly move an example from one group to the other. This is one reason the corpus is concerned with exact spans and with the clauses that sit next to them. The labels establish what will be counted as speech before a study counts particular linguistic forms.

The first version of SLäNDa already supported a small investigation along these lines. The authors used annotations in its training material to examine when newer forms of selected function words appeared in dialogue and in narration. The direction they observed was broadly consistent with earlier appearance in dialogue. The new corpus paper returns to the prerequisite for a larger study. To extend the comparison across more works, an automatic method has to recognize the two kinds of text even when writers signal dialogue differently.

The second motivation concerns narrative technique. The paper discusses a shift in literary fiction from overt presentation by the narrator towards a manner in which the reader sees more of the scene unfold through the characters. Reporting clauses are observable details that can help investigate that shift. Their length and position can be studied separately. A clause placed in the middle of an utterance has a different relationship to its delivery from one that follows the completed speech. A corpus that records these distinctions supports questions that a count of quoted words alone could leave unanswered. This is one point of contact with discourse analysis.

Where earlier resources drew the boundary

Earlier Swedish work by Ek and Wirén approached the problem as a choice between speech and narration for each token, a unit of text such as a word or punctuation mark. They trained a logistic regression classifier on annotated selections from Swedish novels, some of which overlapped with SLäNDa’s selection, and compared it with a punctuation rule. The same annotated material also figured in work on identifying speakers and addressees. The settings are related because locating an utterance is a prerequisite for assigning it to a character, but the decisions can be evaluated separately.

Kurfalı and Wirén approached the shortage of annotated training material through cross-language transfer. They used quotation marks in English to collect speech automatically, trained a multilingual BERT system on the resulting examples, and evaluated direct-speech identification in several languages. The evaluation included the earlier Swedish SLäNDa material, alongside English and German literary collections and a Portuguese collection from news. Their study was concerned with identifying speech when typographic cues were unavailable. It left open the question that the new SLäNDa experiments ask directly, because it did not vary the presence of the cues in a paired comparison.

The authors also describe German work that classified speech at sentence and token level, and German work that used separate classifiers for different forms of speech representation. Whether the task is framed around a sentence or its constituent tokens affects the boundaries a system can express. A sentence label may suit a broad study of how much dialogue a novel contains. When an utterance and a reporting clause share that sentence, the annotation needs finer boundaries to record both. The automatic studies discussed in this part of the paper targeted speech rather than separately finding the full reporting clauses.

Other annotated collections reflect different decisions about what belongs in the record. The English resource RiQuA covers direct and indirect speech and records the speaker, addressee, and speech verb. Identifying the verb provides a point of attachment for a quotation, while marking a complete reporting clause provides its extent. SLäNDa needs clause extent because the narrator’s presentation of speech is itself an object of study. RiQuA

Semino and Short’s work on English, as described in the paper, distinguishes several ways of presenting speech, thought, and writing across genres. Brunner used the same scheme for German material and included speaker information. Elson and McKeown recorded direct speech and speakers in English fiction. The paper also discusses a shared task in which teams produced guidelines for marking narrative levels. A narrative-level analysis can ask whether a character starts telling a story within the main story. SLäNDa’s primary division serves a different reading question, separating the text of the principal narration from direct utterances and other inserted material regardless of whether those passages introduce a further story.

The earlier SLäNDa release held out chapters for testing but drew them from novels already represented in training. It also mixed punctuation styles in the test material. These decisions permit a test on unread chapters of familiar books. They give less visibility into what happens when an author uses a new convention or writes reporting clauses in a less familiar way. The revised corpus keeps the historical test material and reorganizes it by marking convention. It also introduces whole works whose authors are kept out of training, allowing the evaluation to ask about transfer beyond familiar books.

The method, step by step

From literary works to a labeled collection

The corpus begins with works from Litteraturbanken, which makes Swedish literary texts available in several forms. The authors require a proofread text in XML, a format that can represent the structure of a document alongside its wording. They also require a Creative Commons license. Both conditions carry over from the first release. The new selection admits lesser-known authors and collections of short stories alongside novels. The earliest work dates to 1809, a starting point the paper connects to a literary history of the modern Swedish novel.

The source XML describes the layout of printed pages. For annotation, the authors convert it to text with lighter structural markup that chiefly preserves chapter and paragraph divisions. Paragraphs give annotators context for identifying a turn and the words around it. The paper says that speech segments usually fall within a paragraph. Chapter boundaries provide a separate way to organize the release, including the division of older material into chapters for training and chapters for evaluation.

The training portion retains material from the earlier collection and adds works by Rydberg, Heidenstam, and Malling. These additions bring in texts with dashes or mixed marking. The authors also annotate additional material by Levertin, whose chapters are short compared with many chapters in the collection. The new test works are selected independently of the training works, with attention to whether their speech is predominantly unmarked or introduced by a dash. Thus the choice of reading material serves both the historical scope of the corpus and the types of generalization the experiments can examine.

Building and testing the SLäNDa corpus

The steps in order.

Building and testing the SLäNDa corpusStep 1: Select proofread Swedish fiction with suitable licenses1. Select proofread Swedish fiction with suitable licensesStep 2: Preserve chapter and paragraph boundaries during conversion2. Preserve chapter and paragraph boundaries during conversionStep 3: Review existing labels and annotate new texts3. Review existing labels and annotate new textsStep 4: Separate test passages by speech marking convention4. Separate test passages by speech marking conventionStep 5: Convert spans to token labels and flag markers5. Convert spans to token labels and flag markersStep 6: Prepare original and stripped training and test text6. Prepare original and stripped training and test textStep 7: Fine-tune KB-BERT to assign token labels7. Fine-tune KB-BERT to assign token labelsStep 8: Score exact matches for speech and reporting clauses8. Score exact matches for speech and reporting clauses

What the annotation records

The scheme identifies the main narrative in part by marking passages that fall outside it. Direct speech is the main category of interest, but the full corpus also distinguishes material such as thoughts, quotations, letters, and signs. A letter quoted inside a story illustrates why this matters. Its wording is part of the fictional work and may be central to the scene, while still coming from an inserted document. Assigning it a label keeps it distinguishable from both a spoken turn and the narrator’s surrounding account.

Direct speech represents the words presented as a character’s utterance. Indirect speech reports what a character said through the surrounding sentence. The scheme annotates the former. The distinction matters in cases where a narrator plainly conveys the substance of an utterance but gives the reader no stretch of text presented as the speaker’s own words. SLäNDa’s speech-segment category answers a question about the presence and boundaries of direct wording.

The annotator also identifies speech tags. For a standard tag, the authors look for a clause with a speech verb such as a verb of saying or answering. The direct speech must stand in the syntactic relationship that the guidelines describe as the verb’s direct object. The tag itself is limited to a single clause. These criteria give the annotator a stopping point when a speaker attribution sits inside a longer passage of narration. Additional action by the same character can remain part of the narrative even when it follows the attribution immediately.

The new version adds a separate category for passages with the function of a speech tag whose grammar falls outside the standard definition. In the example from Heidenstam, someone is described as sending another character a question, and the question itself follows in direct speech. The verb is a form of sending, and the direct wording is not its syntactic object in the required sense. The introductory passage nevertheless plays a recognizable role in presenting the question. The more flexible tag records that role, while the direct question retains its ordinary speech-segment annotation.

This distinction is useful because the function of one span and the category of its neighbor are separate decisions. A reader can recognize the wording of a character’s question even when the narrator’s introduction has unusual grammar. If both decisions depended on finding a standard reporting verb, an unusual introduction could cause an otherwise clear utterance to be missed. In the annotated corpus, the two judgments can be recorded independently.

The position of a tag is another distinct property. The earlier release used labels for a tag before or after the first part of an utterance. Version 2.0 adds a medial label where the tag lies between parts of the same speech. A tag after the opening words of an utterance may look postposed if one examines only the preceding words. The medial label records that the speaker’s turn continues on the far side of the tag. The authors convert the earlier placement labels automatically where appropriate and check the conversion during their review.

The scheme once included a general category intended for phenomena that the named categories failed to cover. Annotators were to specify the kind of passage if they used it. The authors report that the only uses in the first release were errors and that they removed them during quality control. That discarded general category is distinct from the broad grouping used in the simplified format for the automatic experiments. The full corpus can retain separate labels for thoughts, letters, and similar passages even when a particular experiment groups several of them together.

Who speaks and how the text identifies them

Speaker annotation distinguishes the expression used in the text from the character it refers to. When a speech tag explicitly names or describes the person speaking, the annotator marks that mention. If the expression is a pronoun or a description, the annotator can connect it to the character when the context supports that interpretation. The paper’s example from Sandel describes speech coming from an unspecified voice in the immediate wording. The annotation links that mention to Alice.

This step is a form of coreference resolution. The surface wording tells the reader how the narrator refers to a person at that moment. The character link records the identity inferred from context. When a speaker cannot be resolved, the scheme permits an unknown value. When no speech tag contains an explicit mention, speaker information can be attached directly to the utterance. As a result, a span can have an identified speaker without containing or adjoining a marked textual mention of that character.

This separation also lets unresolved attribution coexist with a clear speech boundary. An annotator can record the character’s words without settling their source. Conversely, identifying the person speaking gives no guarantee that the beginning and end of the utterance are easy to agree on. The corpus preserves information at both levels, while the pilot evaluation concentrates on the spans of speech and tags.

How the labels were produced and reviewed

The annotation guidelines began in discussions among researchers in computational linguistics, literary studies, and Scandinavian studies. The team conducted a pilot round of annotation and used it to refine the guidelines. The pilot annotations stayed outside the finished collection. Three annotators were trained for the first release. For the second release, the team discussed the modifications, and the paper’s second author, a native Swedish speaker and researcher specializing in literary texts, performed the annotation and review.

She went back through the earlier material after the automatic update to the position labels, checked for errors and inconsistent choices, and adapted the annotations to the revised scheme. She also labeled the new material. Using the same person for the review and expansion gives the project a common application of the revised instructions across old and new texts. The procedure supplies that form of continuity, while the earlier multi-annotator exercise supplies the paper’s evidence about how other trained readers applied the older scheme.

The work took place in WebAnno, a graphical annotation environment that can display documents and record labels on selected stretches of text. The authors used its text-based input and displayed the material in paragraphs. Their light XML markup passed through as text. They exported the labels in WebAnno’s tab-separated format, where a line records a token and the columns hold information about it. WebAnno

The output required some cleanup at the level of tokenization. WebAnno split the XML markup and ellipses into parts, and the authors processed these items so that each was treated as a single token. A token in this release can therefore be a word, a punctuation item, or a unit of structural markup. Keeping track of such units matters when a later evaluation requires agreement on the whole token span, including its first and last position.

From full annotations to training labels

The primary release keeps the WebAnno format and provides annotations by chapter. It also supplies concatenated versions for training and evaluation. To make the automatic speech task easier to use, the authors provide a second tab-separated representation based on IOB labels. Each line contains a token, its IOB label, the original annotation label, and an indication of whether the token is a speech marker selected for removal in the stripped condition.

IOB expresses span boundaries by assigning a label to every token. The prefix B marks the beginning of a span and I marks a token inside that same span after its beginning. The label also names the kind of span. SPE indicates speech, TAG a speech tag, and OTH the grouping for other annotated material. Thus B-SPE opens a speech span and I-SPE continues it. An unannotated token receives O, which ordinarily represents the main narrative in this format.

The distinction between OTH and O matters for reading the experiments. The other annotated material is still marked as such, even in an abbreviated representation designed around dialogue. The narrator’s unannotated text has the outside label. The pilot classifier includes the other annotated class but the paper reports results for speech and tags. The full-format annotation remains available for analyses that need the named categories or information about a particular speaker.

The beginning label also separates neighboring spans of the same kind. A sequence of words may all be correctly identified as speech at the token level, yet the division into separate utterances can still be wrong. A fresh beginning label encodes a new span. At evaluation time, the span recovered from those labels must line up with the human annotation. Moving a beginning label can therefore change the result even when the surrounding words are assigned the correct general category.

Original text, stripped text, and automatic prediction

The authors create original and stripped variants of the training material. They identify candidate dialogue markers with simple rules that look for quotation marks and dashes at the edges of annotated speech. A quotation mark or dash can also have another purpose in the same book. The indicator column makes it possible to filter the selected tokens while retaining punctuation that the rules do not identify as speech marking. The intervention removes cues linked to the target annotation, leaving the rest of the passage available to the classifier.

For test material with quotation marks or dashes, the authors create corresponding stripped variants. A book written with opening dashes and evaluated after their removal is still the same book with most of its original wording and structure. It provides a comparison with the marked version of that book. The naturally unmarked partitions give a different comparison, since they contain passages written in a convention where most speech already appears without explicit boundaries. These sources of evidence are useful for different questions about the role of typography.

During training preparation, the authors retain 50% of the lines containing no speech as a balancing measure. They also reserve 10% of the training data for development, a portion separate from the test sets used for the reported comparisons. The experiment files are included with the released corpus. The paper uses the T-NER toolkit to train a sequence labeler, which takes a succession of text tokens and predicts their labels in context.

The system starts with Swedish KB-BERT and applies fine-tuning to adapt its existing text representations to the labeled passages. The last BERT layer produces contextual information for each position. A linear prediction layer uses that information to assign scores to the possible labels. Training uses cross-entropy, a loss that penalizes assigning low probability to the human label. The paper specifies it in prose. The implementation follows the approach used in BERT and uses the Hugging Face Transformers implementation. Swedish KB-BERT · BERT · Transformers

The T-NER defaults reported in the paper are a learning rate of 1e-5, weight decay of 1e-7, and a batch size of 32. The learning rate controls the size of parameter updates, weight decay constrains the learned weights during training, and the batch size gives the amount of input grouped for an update. Training runs for 5,000 steps, including an initial warmup period of 700 steps. For each experiment, the authors average the scores from three runs, each using a distinct random seed. The architecture and training procedure are held fixed for the principal comparison between the original and stripped training texts.

Experiments and results

What each test set represents

The evaluation has inherited partitions and new partitions. The inherited chapters come from books represented elsewhere in training. The quotation-mark partition, also called QM, comprises material from 3 authors. Dash-v1 comprises material from 4 authors whose works use dashes. Unmarked-v1 contains material from 1 author, Bergman. Keeping these chapters makes it possible to examine the earlier test material by marking convention. Its author and work overlap remains a feature of the comparison.

The new partitions each contain 4 authors, with neither their authors nor their works represented in training. Dash-v2 collects works that follow the opening-dash convention. Unmarked-v2 collects works with no consistent typographic speech marking, where most speech has no marking at all. The contrast between the inherited and new subsets is particularly important for the unmarked material because the new subset broadens the evidence beyond Bergman.

In the paper’s overview of the test sets, Dash-v2 has 886 speech segments and 323 speech tags. Unmarked-v2 has 581 speech segments and 331 speech tags. Unmarked-v1 has 26 speech segments and 25 speech tags. These are counts of annotated spans. An utterance can contain several tokens, and an utterance without an explicit tag still counts as speech. The number of speech segments therefore cannot be read as a count of either dialogue words or speaker attributions.

The overview lists 161 speech segments and 72 speech tags for the quotation-mark set, and 140 speech segments and 77 speech tags for Dash-v1. The separate inventory by annotation type gives 160 speech segments and 71 standard speech tags for the quotation-mark set, and 137 speech segments and 76 standard speech tags for Dash-v1, with the other type of speech tag listed separately. The numerical summaries use different counts for these inherited sets. The reported F1 results are supplied in their own table.

The annotation inventory also shows where the corpus is dense and where it is sparse. The version 2.0 training portion has 2051 speech segments and 930 standard speech tags. It has 46 thoughts, 11 quotations, and 8 letters. Thoughts occur in every partition. The inventory reports 33 instances of the other speech-tag category in training, and that category occurs in every test partition except Unmarked-v1. The full release thus records a wider range of material than the experiment measures, with most labeled examples concentrated in speech and standard reporting clauses.

What counts as a correct prediction

The authors report F1 for complete spans. Precision asks what share of the predicted spans match a human annotation. Recall asks what share of human-annotated spans the system recovers. F1 combines those two quantities so that a result depends on both making correct predictions and finding the annotated instances. An exact match requires agreement on the type of span and on both of its edges. A predicted utterance that leaves out its opening punctuation can fail this test even if its words are otherwise correct.

This criterion is stricter than treating each token as a separate decision. For example, a prediction that includes the whole utterance and one extra word incurs a local token error. In a complete-span test, the resulting prediction fails to match the reference utterance. A missed split between speech and a reporting clause can affect both span types even if the labels on most of their words are correct. This metric is well suited to the question of whether a system can supply usable boundaries for passages, with the consequence that edge tokens can have a strong effect.

The principal reference condition is the same sequence labeler trained on original text. The comparison condition trains it on stripped text. The paper discusses Ek and Wirén’s earlier token-level speech F1 of 80.8, which surpassed their punctuation baseline. That score belongs to a different evaluation, with partly overlapping material and a different scoring unit. The current experiments use an internal punctuation comparison to investigate the cues, leaving comparisons with additional architectures and simpler baselines for future work.

One result table presents the complete comparison as averages over the repeated runs. Where marked test sets have stripped counterparts, each test variant is evaluated with both training variants. The naturally unmarked partitions retain their wording and punctuation as collected. They are each evaluated against original and stripped training. This arrangement lets the reader ask which training condition works on a given target text, as well as what happens when speech markers are taken away from a fixed marked test set.

Quotation marks give the clearest speech boundaries

The highest speech-segment score reported in the pilot is 93.3 exact-match F1 for the original quotation-mark set with original training. The same condition gives 66.3 for speech tags. The utterance is enclosed by punctuation that often tells the system where to begin and end. The reporting clause sits outside those boundaries and still needs its own beginning and end. The difference in scores fits that division of labor.

Exact-match speech-segment F1 on the quotation-mark test set

Matching training and test punctuation produces the strongest span detection, with the original text giving the highest score.

Exact-match speech-segment F1 on the quotation-mark test setOriginal training, original test (this paper): 93.3Original training, original test (thispaper)93.3Stripped training, original test: 0.7Stripped training, original test0.7Original training, stripped test: 59.3Original training, stripped test59.3Stripped training, stripped test: 88.7Stripped training, stripped test88.7
The numbers
System or settingF1
Original training, original test (this paper)93.3
Stripped training, original test0.7
Original training, stripped test59.3
Stripped training, stripped test88.7

The result of 0.7 for the stripped-training system on the original quotation-mark test is for whole speech segments. The paper’s prose gives .3 when discussing this case, while its result table lists 0.7, the value used here. The authors explain the extremely low score in terms of boundary matching. The original test references can include the quotation marks, while the corresponding speech-marker tokens were removed during stripped training. The paper says that token-level accuracy also suffers, to a lesser extent. The exact-match result by itself gives no estimate of how many words inside utterances were recovered.

Speech-tag scores give a useful comparison on the same texts. On the original quotation-mark set, tags score 66.3 with original training and 64.0 with stripped training. On the stripped quotation-mark set, tag F1 is 60.3 with original training and 70.7 with stripped training. The speech-segment score reacts much more sharply than the tag score when stripped training is applied to the original marked test. Whatever the change does to recognizing dialogue in context, an evaluation that counts the quote marks as speech boundaries makes the change especially visible for utterances.

Dashes help even when they mark only the opening

On the inherited Dash-v1 set, original training and original test text give 84.0 speech-segment F1 and 71.3 speech-tag F1. With stripped training applied to the same marked test, the scores are 17.3 for speech and 63.7 for tags. After the markers are also removed from Dash-v1, original training yields 58.7 for speech and 60.3 for tags. Stripped training yields 68.0 for speech and 65.7 for tags on that stripped set. Matching the conditions again helps both types of span on the edited test, while keeping dashes available in training and testing gives the highest speech score for the underlying chapters.

Dash-v2 reproduces the main pattern on unfamiliar authors and works. On the original text, original training gives speech-segment F1 of 90.3 and speech-tag F1 of 80.3. Stripped training on that same original test gives 17.3 for speech and 73.0 for tags. On stripped Dash-v2, the speech scores are 63.0 with original training and 74.0 with stripped training. The corresponding tag scores are 68.0 and 74.7.

Exact-match speech-segment F1 on the Dash-v2 test set

Opening dashes support the strongest speech detection when training and testing both retain them.

Exact-match speech-segment F1 on the Dash-v2 test setOriginal training, original test (this paper): 90.3Original training, original test (thispaper)90.3Stripped training, original test: 17.3Stripped training, original test17.3Original training, stripped test: 63.0Original training, stripped test63.0Stripped training, stripped test: 74.0Stripped training, stripped test74.0
The numbers
System or settingF1
Original training, original test (this paper)90.3
Stripped training, original test17.3
Original training, stripped test63.0
Stripped training, stripped test74.0

The Dash-v2 result matters because a starting dash still leaves the end of speech open. Even under that convention, retaining the marker in both phases helps the system recover complete utterances. The score reflects a passage-level outcome with an exact ending as well as an exact beginning. It leaves open how the system finds the end after being given a clear sign of the start. The repeated drop when stripped training is applied to marked Dash-v1 and Dash-v2 shows that transferring in this direction is difficult in both sets.

Dash-v2 scores above Dash-v1 in several matching comparisons. That observation and the absence of training overlap in Dash-v2 can coexist. Each set represents a different selection of works, and a new author can write passages that make this task easier than passages by a familiar author. The Dash-v2 scores establish that the system can do well with opening dashes on that particular selection of unfamiliar books. The relative scores do not isolate the effect of author familiarity.

Naturally unmarked speech gives a mixed result

On Unmarked-v2, speech-segment F1 reaches 75.3 with stripped training, compared with 72.7 with original training. Speech-tag F1 likewise rises from 70.0 to 73.7. The direction agrees with the comparisons on the artificially stripped tests, though the changes on Unmarked-v2 are smaller than several of the changes after test punctuation is removed. This is the experiment’s closest test of whether training with fewer cues helps on unfamiliar works written without a consistent cue in the first place.

Exact-match speech-segment F1 on the naturally unmarked test sets

Stripped training helps on the larger held-out set, while the smaller set drawn from Bergman favors original training.

Exact-match speech-segment F1 on the naturally unmarked test setsUnmarked-v1, original training: 45.0Unmarked-v1, original training45.0Unmarked-v1, stripped training: 36.3Unmarked-v1, stripped training36.3Unmarked-v2, original training: 72.7Unmarked-v2, original training72.7Unmarked-v2, stripped training (this paper): 75.3Unmarked-v2, stripped training (thispaper)75.3
The numbers
System or settingF1
Unmarked-v1, original training45.0
Unmarked-v1, stripped training36.3
Unmarked-v2, original training72.7
Unmarked-v2, stripped training (this paper)75.3

Unmarked-v1 moves the other way for tags as well. Tag F1 is 38.0 with original training and 33.7 with stripped training. Both speech and tag scores on this set are low relative to the larger unmarked partition. The authors emphasize that Unmarked-v1 is small and represents Bergman alone. They retain it to preserve the older test material, and give greater weight to Unmarked-v2 in interpreting results on naturally unmarked works.

Across these results, the favored training condition depends on the test convention. The best marked-text speech results occur when the markers are present throughout. Removing the markers during training helps with every artificially stripped test set and with the larger natural unmarked set. The exception on Bergman makes the size and composition of a test set part of the interpretation. A single score combining marked and unmarked works would hide both the strong performance on matching marked text and the different response to training on text with fewer typographic cues.

What the ablations show

Removing the marker at training time and at test time

The paper’s ablation removes typographic speech cues while keeping the prediction system fixed. In this setting, an ablation is a comparison made by taking away a source of information. The authors can remove the cues from the input used to learn the task, from the input used to test it, or from both. These interventions have different meanings. Removing them during training changes the evidence by which the system learns a speech label. Removing them during testing changes the evidence available for a particular passage and changes which punctuation tokens can belong to its annotated span.

Consider original training applied to the quotation-marked chapters. The transition from 93.3 on the original test to 59.3 on its stripped counterpart shows what happens to exact-span detection when the familiar cue disappears from those passages. The wording of the test stories is substantially the same, so the change does not require an explanation based on new characters, authors, or subject matter. The intervention directly changes what appears at the edges, which is precisely the information exact matching asks the classifier to recover.

The other direction, stripped training applied to original tests, creates a different mismatch. A classifier trained after speech marks have been removed sees quotation marks and dashes in the marked texts at positions where it must learn to include or interpret them as speech boundaries. The near-floor result for the marked quotation test fits the authors’ explanation that a mismatch on punctuation can defeat an otherwise plausible complete span. The higher tag results in the same condition are consistent with those punctuation tokens playing a more direct role in the utterance’s boundaries than in the reporting clause’s boundaries.

Once both sides lack the markers, the results show that strong speech detection can still be possible. On the stripped quotation test, stripped training gives 88.7 speech F1, the highest speech score among the stripped test sets with stripped training. This does not mean the edited text presents the very same problem as naturally unmarked speech. Converting an existing book preserves the author’s choices about reporting clauses, sentence structure, and how turns proceed, along with punctuation the removal rules leave alone. It changes one part of how the dialogue appears.

What the differences suggest about other cues

The authors find the strong stripped quotation result unexpected. Their reasoning is that an author who uses informative quotation marks may have less need to supply clues in the wording, whereas an author writing without marks may make transitions clearer through phrasing. The order of the scores gives no simple confirmation of that idea. The stripped quotation set performs particularly well for speech, while both stripped dash sets score below Unmarked-v2 for speech under stripped training.

There is a further distinction between the speech and tag results on the altered tests. Among the three artificially stripped sets, speech-tag F1 with stripped training is 70.7 for quotation marks, 65.7 for Dash-v1, and 74.7 for Dash-v2. The naturally unmarked Unmarked-v2 result is 73.7. The paper’s narrative discussion describes Unmarked-v2 as having the strongest tag result in the comparison, while the result table places stripped Dash-v2 higher. The broader pattern is clear from the table. The setting with the best stripped-test speech result is the quotation set, and the tag scores follow a different order.

The experiment also indicates that a useful opening mark can support complete-span recovery without announcing the closing edge. Original Dash-v2 with original training scores well above its stripped version even when that stripped version gets stripped training. This leaves room for several interacting clues. The opening dash can tell the system when speech starts, a reporting clause can signal a change of voice, and the succeeding context can help locate a return to narration or the continuation of the utterance. The experiment varies the mark as a group of cues. It does not determine which remaining grammatical or contextual details the classifier uses for particular decisions.

Speech tags have their own boundary difficulty. Finding a speech verb could indicate that an attribution is nearby, yet the system still has to recover the rest of the clause. A clause may name a speaker, use a pronoun, or give more detail about how the words were delivered. The utterance marks help the classifier see which neighboring words are spoken. That relationship can benefit the tag analysis as well, but the tag results show that the gain from visible speech punctuation is less uniform than for marked utterances. On the original quotation test the tag scores under the two training regimes stay much closer together than the speech scores do.

Why the older unmarked set can go the other way

Unmarked-v1 is a useful counterexample to a universal claim about stripping. The authors propose that the classifier trained on original text may benefit from the Bergman passages that are already in the training set. With the other authors’ markers retained, Bergman’s unmarked text may offer the closest training examples for the unmarked test chapters. Stripping the rest of the training data adds examples that are superficially similar in the absence of punctuation, but those examples still come from different writing styles. The authors suggest that this change may make the distinction harder to learn for the Bergman test.

The paper offers that explanation as an interpretation. The experiment does not remove or reweight Bergman’s training chapters to see whether the reversal disappears. It also does not give several comparable versions of the small test drawn from different unmarked authors. Those comparisons would answer distinct questions about how much the reversal depends on familiar writing style and how much it depends on the particular chapter. The stronger evidence for the intended generalization question comes from Unmarked-v2, where training familiarity with the test author is absent by design.

Taken together, the paired tests show that the training intervention is most informative when interpreted against a specified test condition. The marked versions reveal the value of preserving punctuation when the eventual task provides it. The edited versions reveal how much a system can recover when a known cue is withdrawn from the same passages. The naturally unmarked test reveals how the training change transfers to writing produced under a different convention. Each comparison changes an identifiable part of the task, and the results answer the corresponding question at that level.

Limitations

Limits identified by the authors

The authors describe the automatic experiment as a pilot to investigate typography. They use a standard system with toolkit defaults and set aside comparisons with simpler baselines and other architectures. The results therefore establish how these training and test variants behave for this system. They provide no basis for ranking architectures on SLäNDa or for deciding how close a punctuation rule alone would come to the strongest score on the quotation-marked material.

The authors explicitly caution about Unmarked-v1. Its limited size and concentration in Bergman mean that a single style dominates the result, and the matching author in training complicates interpretation. Unmarked-v2 gives the paper a broader view across unfamiliar writers. Even that broader view represents particular selected works, several of which come from a period and source collection chosen to support the authors’ literary and linguistic questions.

The collection is constrained by what Litteraturbanken offers in a suitable form. Many works are available as images or as unproofread text produced by optical character recognition. Some lack a license suitable for inclusion. As a consequence, the authors can broaden the selection while still choosing from a restricted pool. The collection supports studies of the included fiction and conventions. It does not show how effectively the same labels could be generated from uncorrected scans or how typical the observed patterns are of everything published during the covered period.

The paper also recognizes the limit of a single annotator in the new release. It reports earlier agreement measures of 0.72 and 0.83 in Kappa for two pairs of annotators. Kappa summarizes agreement while accounting for agreement expected by chance. The authors say that disagreements in the main classification took the form of missed spans instead of competing choices between categories. Speaker identification raised additional issues, especially when one annotator left more pronouns unresolved and entered unknown speakers more often.

Those measurements concern version 1.0. An expert’s review can correct inconsistencies and bring old passages into line with the revised guidelines, and the authors expect an improvement from this process. Version 2.0 has no independent agreement measurement for the revised guidelines and new works. The older results consequently give context for the scheme without quantifying the reliability of the new categories, including the judgment about functionally similar reporting clauses.

Indirect speech remains outside the current annotation scope. The authors treat it as a possible extension. Accordingly, a researcher taking the direct-speech labels as input can study the text presented as uttered by characters, while a broader study of all the ways narrators represent what characters say would need further distinctions. The pilot’s measured outcomes are narrower again. The corpus records speakers and other kinds of material, but the reported scores concern speech segments and speech tags. The classifier includes the infrequent other class without a reported score for it.

Limits that follow from the comparisons

Marker categories describe dominant practices at the level of works and test sets. The paper gives examples of a normally quoted passage missing its final mark, an author who places an extra dash near a reporting clause, and a mainly unmarked author who sometimes uses a layout resembling a play. A score for a named partition thus averages across some internally different situations. It cannot say how well the system performs when a particular expected mark is missing or when a dash appears for a reason other than the start of speech.

The stripped variants are controlled edits of labeled passages. The rules use the locations of annotated speech segments to flag punctuation for removal. This gives the experiment a clear way to withdraw relevant cues from passages that can still be compared with their originals. It does not evaluate a procedure that could reliably determine which typography to remove from an arbitrary unannotated book. At test time on unfamiliar raw text, identifying the punctuation that really belongs to speech could itself depend on solving part of the speech recognition problem.

Furthermore, the marked-to-stripped intervention changes the target span at the same time as it changes the input. A stripped span has no removed punctuation to include. On the marked original, a correct prediction can require those tokens at the edges. Exact-match F1 is therefore measuring performance under the relevant boundary convention in each variant. A large change across variants can reflect both the loss of a reading cue and the effects of what the evaluation counts as the complete span. The paper’s reference to a smaller token-level effect helps explain the distinction without supplying a detailed error breakdown.

The comparison between natural partitions is less controlled than the comparison between versions of the same text. Dash-v2 and Unmarked-v2 differ in their authors and works as well as in their dialogue typography. Their scores can reflect the placement of speech tags, the kinds of passages selected, and other ways in which the writing differs. The paired removal conditions give more direct evidence about markers. The natural partitions answer the practical question of how the classifier behaves on those groups of books, where many properties change together.

The score table presents averages over runs with different random seeds. It supplies no range or other measure of variation across those runs. Changes such as the two higher scores on Unmarked-v2 can be read as the observed direction under this setup, with their reliability across training runs and across additional books left undetermined. The paper also does not break down automatic performance by the writer, position of the reporting clause, or the boundary at which an error occurs. A complete-span result alone cannot establish which parts of the revised annotation a classifier handles reliably.

Finally, the pilot measures a step needed for historical research. It does not carry out the larger comparison of change in dialogue and narration that motivates the corpus. An automatic historical study using these labels would depend on how errors distribute across authors, periods, and typographic conventions. A classifier that more often misses utterances in one sort of work could alter which passages enter the historical comparison. The paper establishes that such differences in recoverability are worth measuring and provides ways to measure some of them. The historical hypothesis remains a question for the research the authors outline.

What came after

The paper sets out several follow-up projects without reporting their completion. One is to improve classification in texts with few speech markers and to compare the Swedish BERT system with other architectures and simpler methods. The experiments make that comparison more specific. A subsequent study could ask whether competing systems behave similarly on quoted utterances, on opening-dash passages, and on unmarked writing, using the same definitions of a successful span.

Another direction is to expand the training material through automatic annotation. The authors propose finding works that consistently enclose their speech in quotation marks and using those marks to generate additional training examples. They call the resulting material silver standard because the labels would come from an automatic procedure. The human annotations in SLäNDa provide the gold standard against which automatic performance can be checked. The proposal follows the earlier English work described in the paper and extends the pilot’s removal experiment. After the marks have helped identify candidate utterances, they can be stripped to create more training examples in which the wording carries the boundary signal.

The authors also propose using the annotations to train systems for speaker identification and other material outside the main narration. Speaker identification would use a part of the corpus that the pilot leaves unevaluated. It would test the system’s ability to use an explicit name, connect a less specific mention to a character, or identify a speaker when the utterance has no nearby attribution. Work on the other annotated passages would draw on categories that appear far less frequently than speech and speech tags.

These proposed extensions lead back to the original historical question. If utterances and narrator passages can be recovered reliably across different books, the authors intend to compare the timing of linguistic changes in the two kinds of writing on a larger scale. The version 2.0 paper supplies the annotated materials and an initial account of where automatic recovery is strong or fragile. The larger historical comparison, the additional automatic training collection, and the broader classification tasks remain plans described by the authors.

Cite

Cite as Sara Stymne and Carin Östman. 2022. SLäNDa version 2.0: Improved and Extended Annotation of Narrative and Dialogue in Swedish Literature. Proceedings of the Thirteenth Language Resources and Evaluation Conference.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{stymne2022slanda,
  title = {{SLäNDa version 2.0: Improved and Extended Annotation of Narrative and Dialogue in Swedish Literature}},
  author = {Sara Stymne and Carin Östman},
  booktitle = {Proceedings of the Thirteenth Language Resources and Evaluation Conference},
  year = {2022},
  doi = {10.63317/38se9zasxe2i},
  url = {https://doi.org/10.63317/38se9zasxe2i}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/stymne-2022-slanda-version-2-0-improved/