Sentiment Classification of Historical Danish and Norwegian Literary Texts
Paper · 2023 · Ali Al-Laith, Kirstine Nielsen Degn, Alexander Conroy et al.
Summary
A novel can contain a great deal of grief without every passage sounding grim. It can also depict an unhappy life through scenes of affection, amusement, and hope. That makes a literary claim about unhappy writing difficult to test by counting sentences alone. In their study of historical Danish and Norwegian novels, the authors ask what those counts can establish. They revisit a claim about the Scandinavian Modern Breakthrough, a period in which women entered literary life in greater numbers but received comparatively little attention from critics and historians. Later scholars argued that women’s fiction from the period was marked by unhappy characters whose freedom to act was constrained. The paper turns part of that argument into a question about the balance of positive, negative, and neutral language.
The authors draw on MEMO, a collection of 839 Danish and Norwegian novels. They randomly sample a few sentences from each book and have literary scholars assign a sentiment label to each of the resulting 2,748 sentences. The scholars judge the dominant tone of the passage they can see and use the neutral label when the available wording leaves its direction uncertain. On the 100 sentences labeled by all three scholars, the authors report a Cohen’s kappa of 0.59, indicating moderate agreement. The benchmark therefore captures both what readers can agree about in isolated passages and a source of uncertainty at the heart of the task. It places a literary reading problem within the computational study of sentiment and emotion.
The authors compare methods that score words using sentiment dictionaries with classifiers that have already learned to predict sentiment. They also test what happens when the latter are trained on the newly labeled literary sentences. Danish Sentiment, which draws on the multilingual XLM-RoBERTa system and had previously been adapted for modern sentiment prediction, gives the strongest results. Its test F1 is 0.74 when used directly and 0.72 after additional training on the historical sentences. The best dictionary-based system, Sentida, reaches 0.63 on the same test split. The paper thus finds a practical way to classify passages from this collection, alongside evidence that additional historical training can have different effects depending on the starting system.
Applied across MEMO, Danish Sentiment assigns a larger share of both negative and positive sentences to women’s writing. Men’s writing receives a larger share of neutral labels. The negative share is consistent with part of the literary hypothesis. The positive share complicates the expectation that men’s writing would be the more positive of the two. The authors raise a further possibility that women in this collection wrote sentences with a more readily discernible emotional direction. Their results give that possibility a corpus-wide basis for investigation, while leaving open how sentence-level tone relates to characters, plots, and the outlook of a whole novel.
Deep dive: Sentiment Classification of Historical Danish and Norwegian Literary Texts
This study tests sentiment classifiers on historical Danish and Norwegian novels and revisits the claim that women wrote more unhappy fiction. · about 33 minutes to read
The problem and its context
A literary argument that needed a wider comparison
The Modern Breakthrough refers to Scandinavian literary currents associated with social realism and naturalism in the 1870s and the 1880s. The paper places these currents within wider debates about politics, morality, and gender roles. Women were among the groups entering literary life in this period. Their visibility as writers and their place in histories of the period followed different courses. Georg Brandes popularized the idea of a breakthrough through a group of male authors, and later literary histories continued to give women’s fiction an uneven place in the account.
The authors point to an instructive detail about that tradition of literary history. A handbook could present the period’s controversies over gender through literature written by men even when women had published fiction of their own on subjects central to those debates. Vilhelm Andersen’s earlier history had recognized women’s writing, though he framed it as a peripheral part of the literary landscape. For the paper’s authors, this history matters because the familiar account of the breakthrough was built from a narrower selection than the range of books available for study. Changing the selection changes the material on which a general description of the period rests.
Feminist literary scholarship in the 1970’s and 80’s reopened this part of the record. The paper pays particular attention to Pil Dahlerup’s account of women writers and their fictional characters. Dahlerup connected restrictions on women’s social lives with a pattern of characters who faced restricted choices, disappointment, and unhappiness. She also associated more emancipated fictional women with writing by men, whose greater freedom in public and private life, in her account, gave them a different basis for imagining what characters could do. The argument concerned who gets to act and what happens when she tries, as well as the emotional character of the writing.
The authors identify a question of comparative evidence. The unhappy-texts hypothesis was formed through readings of work by women, often from a small selection of texts. To establish a pattern specific to that group, the authors need to consider what men were writing during the same period. If recurrent scenes of constraint or disappointment also belonged to men’s novels, their presence in women’s writing would have to be interpreted in that wider literary setting. A corpus containing books by both groups makes the comparison possible and brings more of the period’s published fiction into view.
There is also a change in the theoretical question the authors bring to the material. They draw on affect theory, which invites them to examine what emotions do in social and literary life. One implication is that the circulation of feelings in a text can itself be an object of study. Approval, embarrassment, deference, and disappointment may help give a scene its social meaning. A quantitative account of valence can track some of the places where an approving or disapproving tone is legible. The fuller literary question concerns who experiences the feeling, whom it concerns, and what it does within the narrative.
The study begins with a measurable part of that larger question. If unhappiness is especially characteristic of women’s writing, is a larger proportion of its sentences recognizably negative? And what happens to the comparison when positive and neutral sentences are counted too? Examining the full distribution matters because the category of positive language has its own literary significance. A collection of novels can make distress conspicuous while also making tenderness or pleasure conspicuous. A comparison restricted to negative passages would leave that possibility unexamined.
Why sentiment is difficult to read at sentence length
The computational task is to assign each sentence to a pre-defined category, a form of text classification. Here the categories are positive, negative, and neutral. The direction of a sentiment is commonly called its polarity. The authors are interested in whether the sentence conveys an appreciably favorable or unfavorable tone, with a remaining category for cases where neither direction is clear. The categories provide a common scale for counting passages drawn from otherwise very different books.
The paper contrasts the literary material with familiar domains for sentiment analysis, including reviews and short social media posts. A review frequently gives the reader an object of judgment and indicates whether the reviewer approves of it. A novel can offer many possible objects and many voices. A single sentence might report a character’s pleasure while setting up a scene the reader will later recognize as painful. Meaning can depend on an earlier encounter, a shift in who is speaking, or a revelation later in the plot. A procedure that reads each sentence by itself has access to a narrower set of evidence than the reader of the book.
Historical language raises another difficulty. A word may be recognizable to a present-day reader yet carry a different range of meanings in the period. An unfamiliar spelling can also affect a dictionary lookup even when the underlying expression would be intelligible to a literary scholar. Beyond individual words, the social force of a gesture or an expression of authority can depend on conventions of courtesy and gender. The authors’ examples bring together changes in vocabulary, expectations about conduct, and the perspective from which a passage is read. These are practical problems at the intersection of literary interpretation and historical linguistics and language change.
The project also needed suitable evaluation material. A system that works well on current Danish has shown that it can solve a related problem on a different kind of text. Its performance on historical fiction still needs to be measured. The authors found no established benchmark for the material they wanted to study, so they had to define the reading task, develop the instructions, collect judgments, and use those judgments to compare methods. The corpus analysis depends on that sequence. The authors first need some evidence that predictions resemble the judgments the literary investigation requires.
What the authors took from earlier work
The paper describes computational literary research with several different objects of measurement. Studies had classified emotion in Quevedo’s verse, American poetry, early American novels, and fairy tales. Work on German novels investigated whether a book’s ending could be categorized as happy. Other researchers used sentiment as a feature in studying a book’s success or followed emotion in relation to places and groups. The distinctions between those goals matter here. A classification of an ending, an estimate of a book’s prospects, and a count of negative sentences answer different questions even when they all use emotional vocabulary.
Research on historical texts had also exposed choices about preprocessing and human judgment. One German drama study used a reference sample of 200 manually labeled speeches to evaluate sentiment lexicons. A lexicon is a resource that associates words with assigned values or categories, enabling a system to look for established cues in a new passage. The study of German drama raised practical issues about preparing historical text and deciding what the human labels should capture. The speech, its context in a play, and the words recognized by a lexicon each supply a different amount of information.
The authors also discuss a study of historical Italian writing that developed a lexical resource and found an advantage for crowdsourced judgments over a sentiment lexicon in its setting. Another project used digitized books in several languages to track historical well-being. That work asked a population-level question using published language as evidence. It belongs to the paper’s account of what historical text analysis can attempt, while the present study asks about a specific feature of fiction and constructs a benchmark around individual literary passages.
Earlier work on German plays had explored dictionaries, traditional statistical classifiers, word representations, and systems adapted through additional training. The paper identifies the finer division of emotions into subcategories as an especially difficult condition in that research. For the Danish and Norwegian novels, the authors choose a broad polarity task. A small inventory makes it possible to collect judgments at the scale available to them. It also fits the initial corpus question, which is about the relative prevalence of favorable, unfavorable, and indeterminate tone. More detailed interpretations of what emotions are present are left for subsequent literary analysis.
The method, step by step
From complete novels to a common reading task
The method begins with MEMO. The collection gives the authors the sentences to read and the publication information needed for the eventual comparison. They use the full collection to ask the literary question and a small sample to establish what an automated label should mean. This organization makes human judgment feasible. Reading and marking the entire collection would require an undertaking on a very different scale from judging a few passages from each novel.
The authors shuffle the sentences and randomly select 3-4 from each novel, yielding an average of 3.3 sampled sentences per novel. Sampling by novel gives the manual effort a broad reach. A book enters the annotated collection through a few separate passages, including passages that may carry little obvious feeling. The sample is built without choosing famous scenes, searching for emotional words, or deciding in advance that a particular book should stand for a kind of sentiment. Its purpose is to give the classifiers a range of examples drawn from the material they will eventually process.
The sampled sentence is the unit of judgment. A scholar deciding on a label can consider the wording and construction of that sentence, including the relation between its parts. As instructed, the scholar avoids inferring the missing events immediately before or after it. This makes the human task comparable to the prediction task. Each judgment concerns the evidence available in the same short stretch of language that the classifier receives.
The hand-labeled sample is then used in several ways. Some of its sentences supply examples from which a classifier can learn. Others are reserved for selecting settings and evaluating predictions. Once the available classifiers have been compared, the authors use Danish Sentiment to label the full collection. They aggregate those decisions using the author’s gender and the novel’s publication year. The resulting distributions are the evidence the paper brings back to the literary hypothesis.
From novels to sentiment comparisons
The steps in order.
What a scholar was asked to mark
The annotators were a master’s student, a doctoral student, and an associate professor. All were native Danish speakers and had experience with the literature of the period. Their expertise overlapped, with particular interests in gender, intellectual history, and cultural history. The paper reports that they annotated 690, 1029, and 1029 segments, respectively. The use of specialists matters because the task includes decisions about historical meanings and norms. The procedure is an instance of linguistic annotation.
The instructions ask the annotator to decide which label best represents the overall sentiment expressed in the passage. The expected input might be dialogue, description, or a mixture. Verbs, adjectives, and nouns are all possible sources of evidence, with the reading of the segment determining which words matter. Although lexical cues are part of that judgment, the procedure gives the scholar room to consider their combination. A description of affection, for example, can change the force of an adjective that might otherwise look unfavorable.
Neutral is both a description of some passages and a decision for cases of doubt. A sentence can be neutral because it gives an ordinary account of an action without a pronounced attitude. It can also receive the label because emotion is apparent but its direction remains unsettled. The authors give an example in which a woman finishes a letter and goes to a nobleman’s door with her heart beating. A reader can recognize anticipation. The fragment still leaves open whether she is pleased, afraid, or experiencing several feelings at once. The instruction directs the scholar to neutral in this circumstance.
That example helps explain why the label is more specific to the experiment than its ordinary name suggests. Asking whether the character feels anything would produce a different answer from asking whether the sentence gives that feeling a discernibly positive or negative direction. The annotation form asks the latter. Entering a confident directional label for each excited or anxious gesture would change the target and make the corpus comparison partly a measure of the annotators’ guesses about missing scenes.
A second example concerns the Danish adjective besynderlig. The paper explains that a contemporary reading tends towards weirdness, while the historical usage can include a sense of the special or curious. In the passage the authors discuss, a woman is surprised by affection and responds with a curious look that the scene explicitly presents as unoffended. The recommended assessment is positive. A lookup that assigns the modern connotation to the adjective risks pulling the sentence in the opposite direction. The specialist’s judgment comes from the word’s historical range and the action described around it.
Social conventions make some sentences difficult even when their individual words are legible. In one example a man deliberately makes himself severe, apparently believing that an imperious manner benefits the people he deals with. Present-day readers may hear harshness in the command where the scene presents firmness as justified. In another example, a woman spends a winter evening in an armchair, dreaming and waiting in a manner likened to a fairy-tale princess. The quiet anticipation can read differently once the reader brings a judgment about passivity to the scene. The authors use these passages to show where a modern evaluation of conduct can influence a sentiment judgment.
Genre knowledge can enter even when a scholar aims to consider only the sentence. The paper discusses the possibility that familiarity with Amalie Skram’s naturalism, or awareness of the connotations of a title like En Krise, could predispose a reader to hear a negative note. The instruction to judge the segment establishes a common standard for the work. The authors acknowledge that expert readers may still bring memories and expectations to what they see. The expertise that helps with historical interpretation can therefore be a source of both information and variation.
The guidelines also set aside the question of which narrative voice owns the sentiment. A character can utter an approving remark, a narrator can present it skeptically, and a novel can develop a view that neither voice states directly. The assigned category captures the dominant polarity that can be read locally. It does not identify the speaker’s status or recover the implied author’s point of view. That scope is important later, when labels attached to individual sentences are grouped under the names and publication dates of the books’ authors.
How the competing classifiers interpret a sentence
The first family of classifiers starts with word-level ratings. A dictionary-based approach looks for entries in the sentence, retrieves their sentiment values, and combines the evidence. The paper describes summing word values as the basic procedure, while individual tools can use additional rules or offer a choice of score. The comparison provides a way to see how much of the expert judgment can be reproduced by resources built around lexical sentiment.
Sentida is a Danish tool that extends the Danish AFINN lexicon with additional words. It can produce an average or a total sentiment score. It considers effects such as negation, adverbial modification, and exclamation marks when scoring. These features let it respond to the way cues are presented, in addition to retrieving their dictionary values. Its use of a Danish resource also gives it a direct route from sentence to score without the intermediate step taken by one of the other systems.
TextBlob uses an English dictionary. For this experiment the authors send the Danish text through Google Translate, then use TextBlob to score the English output. The route supplies a practical baseline for applying an existing English-language resource. Its result depends on the wording provided by the translation as well as the sentiment analysis applied afterwards. A historical connotation or an ambiguity resolved in translation can affect the evidence that reaches the dictionary.
VADER combines lexical scores with rules and was designed with social media in mind. The authors adapt it using a Danish sentiment lexicon. This is a different use of an existing tool from the TextBlob pipeline. It brings a Danish vocabulary into the scoring procedure while retaining the rule-based method associated with VADER. The measured performance is that of the resulting configuration on the historical sentences.
The next family begins with classifiers whose earlier training gives them a way to represent text and, in some cases, predict sentiment directly. The paper distinguishes initial training on large quantities of text from additional training for a named task. The latter adjusts an existing system with examples of the desired outputs, a process known as fine-tuning.
Danish BERT BotXO had been trained on 1.6 billion Danish words. Its starting checkpoint had no dedicated sentiment training, so the authors include it in the branch trained on the historical labels. Danish BERT Tone starts from BotXO and has already been adapted to recognize positive, neutral, and negative polarity in Danish. It can therefore be used directly in the benchmark and can also be trained further. These starting points let the authors ask what is gained from arriving at the historical task with prior sentiment training.
Danish Sentiment combines another source of general language training with prior experience of sentiment. Its base is XLM-RoBERTa-base, which was pretrained on multilingual material. The paper reports that Danish Sentiment was subsequently adapted for sentiment using 198M tweets. Its connection to the historical task comes through the polarity labels and language knowledge already learned, followed by optional training on the literary examples. The multilingual starting system is described in Unsupervised Cross-lingual Representation Learning at Scale.
In the direct-use condition, the authors load the existing sentiment classifier, format the passages, and obtain predictions. No updates from MEMO’s literary labels occur at that stage. The term supervised in the paper’s description refers to the task training the system already received. In the historical-training condition, the system learns from the labeled training portion of MEMO. Validation is used for selection, and the test set is reserved for the final comparison. The distinction between direct use and additional training is central to the study because both routes ultimately produce the same categories for the same kinds of input.
For historical training the paper gives a batch size of 32, a training regime of 30 epochs, and a learning rate written as 10 −3. A batch is the set of examples used for a training update. An epoch is a pass through the training data, and the learning rate governs the step used when adjusting the system’s parameters. The paper also says that the number of training epochs used for selection was decided with the validation set. The optimizer, the procedure that uses training feedback to update the parameters, is AdamW, associated with Decoupled Weight Decay Regularization.
Turning categories into a yearly score
After classification, the authors form sentiment distributions for the corpus. For a publication year and author group, the proportion in a category comes from the sentences assigned that label among the sentences in the group for that year. This preserves the positive, neutral, and negative shares as separate quantities. It allows the reader to see a group with more sentences at both ends of the polarity scale, a possibility that would be harder to see in an average alone.
The authors also describe a weighted average for comparing the groups over time. Expressed using proportions, the calculation they describe is:
S = 3 × pₙₑg + 2 × pₙₑᵤ + 1 × pₚₒₛ
Here S is the average sentiment score for the sentences in the author group and year under consideration. The symbols pₙₑg, pₙₑᵤ, and pₚₒₛ denote the proportions assigned negative, neutral, and positive, respectively. The equals sign defines the score in terms of those shares. The multiplication signs apply the category weights, and the plus signs combine their contributions. The weights 3, 2, and 1 place the categories in order from negative through neutral to positive.
A higher score indicates a distribution weighted more toward the negative end of that ordering. The weights refer to the label a sentence received. They do not supply a separate assessment of how severely negative or how emphatically positive the sentence is. A gentle expression of disappointment and a more severe expression of despair make the same contribution when both receive the negative label. The yearly score condenses a distribution of categories and should be read alongside their separate proportions.
Experiments and results
The collection and the evaluation split
The complete MEMO corpus contains 839 novels, 3,229,137 sentences, and 52,724,457 words. It covers the last 30 years of the 19th century. The paper reports averages of 3,849 sentences and 62,842 words per novel, and 16 words per sentence for the main collection. The historical comparison is therefore carried out on a large set of passages, even though the accuracy of the procedure is assessed on a small manually read portion.
The annotated sub-corpus contains 2,748 sentences and 55,333 words. Its label distribution is headed by the negative class at 1,139 sentences, or 41.4%. The neutral class contains 788 sentences, or 28.7%, and the positive class contains 821, or 29.9%. All classes have substantial representation. Negative is the most common label in the sample, which gives readers an initial sense of the benchmark’s composition before comparing scores.
The authors use 2376 examples for training, approximately 86% of the annotated data. The validation set contains 272 examples, about 10%, and the test set contains 100 examples, approximately 4%. Training examples provide the feedback for additional learning. The validation labels allow the authors to choose training settings. Test labels are the reference for measuring the final predictions on a held-out split.
That test has a different annotation procedure from the other partitions. The training and validation labels come from single experts, while all three scholars judge the test passages. The test’s final labels are determined by majority vote. The paper reports Cohen’s kappa of 0.59 on the 100 shared passages. Kappa measures agreement after allowing for the agreement expected by chance. The reported value is characterized as moderate, consistent with an exercise where historical knowledge helps and isolated wording can still permit multiple readings.
The evaluation uses F1. For a category, precision asks how often a prediction of that category is correct, and recall asks how often a reference example of the category is recovered. F1 summarizes the two, rewarding systems that maintain both. In a task with multiple labels there are different ways to combine category-level scores. The paper reports the resulting F1 values without detailing the averaging convention, so the figures support comparisons within the reported setup without giving per-category precision or recall.
Validation and test results need to be read with their split membership in view. The validation label for any passage represents one expert’s judgment, and the test procedure draws on several expert judgments. The passages also differ. A gap between the two columns can reflect the composition of those samples or how their reference judgments were established, as well as decisions made using the validation split. The scores compare systems most directly when the systems are evaluated against the same labels on the same split.
Dictionary baselines and direct transfer
Among the dictionary-based methods, Sentida ranks first on both splits. Its validation F1 is 0.64 and its test F1 is 0.63. VADER with the Danish lexicon records 0.59 on validation and 0.62 on test. The translation followed by TextBlob gives 0.56 on validation and 0.52 on test. Sentida therefore supplies a substantial baseline on the historical material, and the adapted VADER configuration comes close to it on the test set.
The experiment also compares the two classifiers already adapted to sentiment before they enter MEMO. Used directly, Danish BERT Tone obtains a validation F1 of 0.59 and a test F1 of 0.62. Danish Sentiment obtains 0.71 on validation and 0.74 on test. The latter leads on both splits, including when its predictions are compared with the best dictionary-based result. The benchmark thus shows that a classifier trained for sentiment using modern material can carry useful evidence into the older fiction with no additional training on the literary labels.
Dictionary baselines and direct sentiment prediction on the historical test set
Danish Sentiment leads the direct-use comparison, followed by the strongest dictionary baseline.
The numbers
| System or setting | F1 |
|---|---|
| TextBlob after translation | 0.52 |
| VADER with Danish lexicon | 0.62 |
| Danish BERT Tone | 0.62 |
| Sentida | 0.63 |
| Danish Sentiment (this paper) | 0.74 |
The validation results show why the same split should be used throughout a comparison. Sentida leads both VADER and Danish BERT Tone there, just as on test, but the spacing between the systems differs. VADER and Danish BERT Tone tie on each split in the reported figures. They are very different ways of approaching the task. Their shared overall score leaves open whether they succeeded on the same passages, and how the errors were distributed across the three labels.
TextBlob’s lower score describes the translation-and-dictionary pipeline as a whole. A translator can change the wording relevant to sentiment, while an English sentiment dictionary can also miss cues in a well-translated literary sentence. The benchmark gives the joint outcome of those stages. It offers no separate estimate of translation quality or an evaluation on hand-translated versions of the same passages. The result establishes where that baseline stands in the reported experiment.
Additional training on the historical labels
In the experiment with further training, Danish BERT BotXO records 0.50 F1 on validation and 0.52 on test. Danish BERT Tone records 0.59 on validation and 0.70 on test. Danish Sentiment reaches 0.63 on validation and 0.72 on test. Danish Sentiment leads the systems in this branch on both splits. The best test result across the entire comparison is its direct-use result of 0.74.
Classifiers after historical training on the held-out test set
Danish Sentiment remains the strongest classifier after additional training on MEMO.
The numbers
| System or setting | F1 |
|---|---|
| Danish BERT BotXO | 0.52 |
| Danish BERT Tone | 0.70 |
| Danish Sentiment (this paper) | 0.72 |
Danish BERT Tone’s increase on test after historical training is accompanied by the same reported validation F1 in both conditions. Danish Sentiment’s scores are lower on both splits after the extra training. The different directions of these changes matter for anyone trying to understand what the labeled resource contributes. On these experiments, experience with the literary sentences helps the test performance of one already trained sentiment classifier, while the other achieves its best result using its earlier training alone.
Sentida also remains competitive when the comparison is expanded to include the additional training runs. Its validation F1 of 0.64 is above the strongest historically trained entry in that column. On test, the historically trained Danish BERT Tone and Danish Sentiment score above Sentida. The lexicon’s usefulness depends on which split and training condition are at issue. A single ranking of broad method families would obscure those details.
The paper observes that validation and test results diverge more clearly in the additional-training branch and links that divergence to using validation for epoch selection. Readers can see the scale and direction of the split differences in the reported F1 values. There is no repeated-split analysis that shows how much of the divergence comes from epoch selection, as opposed to the passages or labels in the partitions. The comparison records performance for the chosen procedure on the available data.
Sentence distributions across the full collection
The corpus analysis uses Danish Sentiment to assign categories to sentences in the main collection. The authors attach the predictions to the gender of the novel’s author and to its year of publication. Consequently, the aggregate concerns sentences drawn from books by the respective groups. It describes how frequently each kind of label appears in the words available to the classifier across the novels.
The first corpus figure presents the aggregate distribution by author gender. Women’s novels have a higher proportion of sentences assigned to the negative category and also a higher proportion assigned to the positive category. Men’s novels have a higher proportion assigned to neutral. A comparison focused exclusively on negative labels would capture one component of this pattern. Looking at all categories also reveals the gender ordering for positive sentiment and shows why the authors regard the literary hypothesis as only partially borne out.
The next figure follows the individual categories by publication year. Each point represents the percentage of the sentences by authors of a given gender from that year that receive a given label. A group’s value is read against sentences from its own books in the relevant year. The plot lets the authors examine whether the pooled distribution is accompanied by a similar tendency across the period. They describe women’s writing as showing more positive and negative sentiment over time.
The authors also plot the weighted average, with higher values denoting a more negative balance. In 16 of the 29 years examined, women scored higher than men. This is a result about the yearly averages using the specified weights. It is distinct from the average distribution pooled over the corpus, and from a comparison of the negative share alone. It shows that the ranking of the groups on the weighted scale varies across years.
Those observations can coexist because a larger positive share pulls the average in one direction and a larger negative share pulls it in the other. The separate-category comparison preserves both tendencies. The weighted score addresses what happens when their contributions are combined on an ordered scale. A year in which women have more readily classifiable emotion at both ends of the distribution can give a different ordering on that scale depending on the relative contributions. The paper’s figures thus answer related questions about the same predictions.
The authors use a t-test for each category. They formulate the null hypothesis as equality between the male and female groups in the mean number of sentences assigned to the category across years. For the negative category, the paper reports a p-value of 5.20 × 10 −6. For neutral, it reports 5.13 × 10 −8, and for positive, 4.57 × 10 −10. All fall below the 0.05 threshold discussed in the paper. The authors interpret the tests as evidence of differences between the groups under that analysis.
The p-values address the tests the authors specify. The descriptive plots supply the direction of the observed differences, and the yearly weighted scores supply another view of their variation. Taken together, the evidence supports the part of the historical claim concerning more negative passages in women’s writing across the analyzed corpus. It also motivates the authors’ alternative observation that women’s writing in this collection is more frequently recognizably polarized in either direction. The work of relating that observation to literary structure is separate from counting the predictions.
What the ablations show
What changes when the historical labels are added
The paper reports no component-removal ablation. Its closest controlled comparisons are the use of the same sentiment-ready classifiers with and without additional historical training, alongside the comparisons between complete classifiers and the analyses of their predictions across the corpus.
The comparison for Danish BERT Tone holds the starting classifier and evaluation data fixed while changing whether the historical training examples are used. Its test F1 rises from 0.62 to 0.70. Its validation F1 is 0.59 in each condition as reported. In that setting, additional literary training yields a better result on the majority-voted test labels. The unchanged validation figure also shows the importance of keeping the held-out split visible in the account of the improvement.
The analogous comparison for Danish Sentiment gives a different result. Direct use achieves 0.74 F1 on test and 0.71 on validation. Additional training leads to 0.72 on test and 0.63 on validation. This supplies a useful qualification to the potential value of adapting to historical material. A classifier can already have a combination of capabilities that transfers well to the new task, and updating it with a small annotated sample can lower its measured score. The experiment records that outcome without identifying what changed in the sentences it classified successfully.
The comparison among historically trained systems also brings prior sentiment experience into view. BotXO after historical training is weaker on both held-out splits than Danish BERT Tone after historical training. BERT Tone builds on BotXO but has been trained to predict sentiment before the MEMO experiment. That history makes the contrast informative about the value of the starting point in this setup. The comparison concerns the particular resulting systems and their training histories. It does not separately vary every earlier training choice.
What the broader comparisons can explain
Danish Sentiment leads BERT Tone in both the direct-use and additional-training conditions. This is evidence about the relative strength of those classifiers on the benchmark. It offers a reason to consider multilingual pretraining when working with a historical target that differs from the available modern training data. The systems differ in more than the languages used during their initial training. They also have different prior sentiment training, so the results leave the contribution of each difference unresolved.
The lexicon results are likewise comparisons of entire routes from input to output. Sentida gives the strongest direct dictionary baseline. Its rules for modifiers and negation could be useful on passages where the dictionary polarity of a word changes in context, but the paper does not switch those rules off and test the effect. Likewise, the study compares the translated TextBlob route with Danish scoring routes without constructing a paired test of translation alone. These comparisons give practical evidence for choosing among the evaluated configurations. They leave their individual mechanisms open.
The corpus analysis provides another kind of comparison by changing how the same predictions are grouped or summarized. Pooling sentences exposes the higher shares of both positive and negative labels in women’s writing. Grouping by year reveals the time dimension of those shares. Weighting the categories gives a single ordering that sometimes places the groups differently. The proposed interpretation of a more affectively explicit style is based on the full distribution. It would be difficult to infer from a yearly average that permits positive and negative labels to offset each other.
The agreement analysis adds context for interpreting the classifier comparisons. The specialists give somewhat different readings even under shared instructions. Agreement at the reported level supports the use of a reference set while showing that prediction errors arise in a task with genuine interpretive variation. The paper illustrates sources of that variation with examples of historical usage, social norms, and unavailable context. It gives no breakdown of classifier errors by those phenomena, so the examples explain why the benchmark is difficult without demonstrating which difficulty accounts for a particular result.
Limitations
The limits the authors identify
The most immediate limitation is the size of the passage under judgment. The authors explain that irony, unreliable narration, and uncertain voice can complicate a decision that is made from an isolated sentence. A sincere declaration and a remark that a narrator expects readers to hear as ironic can carry similar surface cues. The annotation guidelines make that uncertainty manageable by narrowing the task to locally accessible sentiment. At the corpus stage, those decisions remain measurements of local tone.
Neutral labels retain the ambiguity built into the instructions. In difficult cases the label can mean that a reader senses emotion without being able to place it on the polarity scale. The authors’ suggestion that men’s writing may tend toward a less affective style therefore needs further scrutiny. A greater share of neutral predictions could include writing with fewer clear expressions of emotion and writing that depends more on context to express it. The annotation procedure produces a common label for both possibilities.
The authors also discuss the influence of changing historical norms. Knowing that a word once had a wider or different meaning can improve a reading. Knowing how a given social posture was presented in contemporary literature can likewise change the apparent tone. Still, the scholars have to make choices about whether a phrase signals the narrative’s evaluation or their own, and what historical knowledge can reasonably inform an isolated sentence. Their comments on personal familiarity with authors and titles acknowledge that these judgments cannot be made from wording alone in every case.
The discussion calls for closer study of intensity and narrative structure. The current categories record direction, with each sentence making the same contribution as another sentence of its class. This leaves degrees of affirmation or distress unmeasured. The authors ask how sentiment relates to plot and suggest looking at places such as endings. A book whose atmosphere changes sharply at the end and a book with a steadier tone may have similar pooled distributions. Following the sequence of passages would bring those different narrative uses into view.
The authors also propose comparisons across writers, subsets of the period, and kinds of novels. A group difference may be concentrated in particular books or reflect the influence of outlying authors. Canonical writing and popular fiction might show distinct patterns. The paper mentions naturalism as a possible comparison because readings of that movement frequently emphasize pessimism. Such comparisons are raised as further questions. The presented analysis does not determine which literary currents, publication circumstances, or narrative choices give rise to the aggregate categories.
On the computational side, the authors propose initial training on the complete historical corpus before adapting to the sentiment labels. They also suggest using topic analysis to examine whether the attitude associated with a subject changes over time, and to trace changes in the words used to communicate sentiment. The study does not evaluate those proposals. Its existing results concern the application of systems based on modern resources, with only the additional-training branch using annotated historical sentences for supervised updates.
What the experimental setup leaves open
The scale of the main collection makes the annotated sample broad across books and shallow within a given novel. Sampling a few passages per book helps include the corpus’s range of writing. It gives little basis for judging the variation among scenes within any particular novel or for identifying which part of that novel accounts for its sentiment distribution. A random draw from across books provides a useful benchmark for sentence classification while leaving the relationship between benchmark coverage and literary structure uncertain.
The author and novel membership of the experimental splits is also relevant. The paper gives the numbers of examples in each partition but does not describe a test split constructed from entirely held-out authors or novels. Its reported scores establish performance on the specified test sentences. They leave open how well the method would generalize to a collection of authors or books kept entirely separate from the historical training and validation examples. That is an important distinction when interpreting claims about use beyond MEMO.
The small test set and the limited reporting of uncertainty also affect how precisely the systems can be ranked. The paper gives overall F1 and a measure of human agreement. It does not give confidence intervals, repeated training results, or category-specific errors for this test. Small gaps between configurations remain difficult to interpret in isolation. The direction of a reported difference can be stated clearly while its stability on a new sample remains uncertain.
A related question is whether sentiment errors have the same distribution across the groups used in the literary analysis. A single corpus-wide performance figure cannot show whether precision and recall are similar for women’s and men’s books, for different years, or for different kinds of narrative voice. Systematic errors associated with any of those factors could influence the measured proportions. The t-tests concern categories produced by the classifier. They do not incorporate a separate estimate of how errors vary across the groups being compared.
The two descriptions of corpus statistics call for care as well. The yearly distribution figure uses proportions within author group and year. The description of the t-tests refers to mean counts across years. Counts and proportions answer different questions when the groups contribute different amounts of text. The paper gives the resulting significance values without enough detail to trace the relation between the quantities in the figure and the inputs to the tests. The plotted direction, the tests as described, and the magnitude of a literary difference should each be read on their own terms.
The identity of the corpus classifier is clear at the family level, while the exact training condition is harder to recover from the paper’s account. The analysis section names Danish Sentiment. The benchmark table places direct use ahead of extra training on both splits, while the conclusion describes applying a version subsequently trained on the historical training set. Both versions are evaluated, but the descriptions leave uncertainty about which checkpoint generated the corpus figures. This matters for replication and for connecting the main-corpus predictions to a particular benchmark score.
At the level of literary inference, grouping sentences by author gender does not make gender a demonstrated cause of the observed polarity pattern. Books differ in genre, style, length, publication year, and the roles given to their characters. A sentence-level distribution also gives longer works more opportunity to contribute predictions. The historical argument concerns social conditions and character agency. Those are possible contexts for the findings, but the analysis as reported measures the distribution of predicted passage labels. Establishing a relationship between that distribution and an explanation of the period would require attention to the books and their historical circumstances.
Finally, a corpus association with the gender of a book’s author cannot identify who voices the sentiment in the passage. A sentence in a woman’s novel can register a man’s complaint, a narrator’s description, or words a character remembers from another speaker. The classification inherits the book’s metadata for aggregation. This is appropriate for the question of what appears in books by each group. Claims about whose emotional lives are represented, which characters lack agency, or how readers are invited to evaluate those voices call for a different unit of analysis.
What came after
Historical annotation as a research problem
A later citing study turns to invective in Tudor English and centers the work on the construction of an annotated corpus for computational use. Invective is a more specific object of annotation than general positive or negative tone. In the Scandinavian study, a hostile utterance can contribute to a negative polarity label alongside many other kinds of passage. A project devoted to invective makes that kind of language the focus of the corpus itself. This is the documented scope of The InviTE Corpus.
The connection is the need to define a human reading task for a historical language setting before a computational study can proceed. The Danish and Norwegian project establishes a common decision about tone in isolated passages. The Tudor English project, as identified by its title, organizes annotation around invective in a different historical tradition. Its citation establishes that the earlier study figured in its account of the problem. The documented connection does not identify reuse of MEMO, its sentence-level rules, or the classifier evaluated on the novels.
Sentiment as a representation that might travel
The other citing work asks about the geometry and portability of sentiment concept vectors. Its object is the representation of sentiment and the question of whether that representation can travel, while the Scandinavian study observes transfer through the labels an existing classifier assigns to historical fiction. The link is especially close to the comparison between modern sentiment training and performance on an older literary domain. The later work frames portability directly in its title, Is Sentiment Banana-Shaped?.
The citation places the MEMO experiment near a question it leaves open. A classifier can score well after a change of domain, as the direct-use result for Danish Sentiment shows, while its predictions alone reveal little about how sentiment is represented internally. The later title identifies a study of that representational question. Its citation supplies a connection to the earlier finding, with no documented basis for attributing a particular experiment, result, or reuse of the historical benchmark to the later authors.
Cite
Cite as Ali Al-Laith, Kirstine Nielsen Degn, Alexander Conroy, Bolette Sandford Pedersen, Jens Bjerring-Hansen and Daniel Hershcovich. 2023. Sentiment Classification of Historical Danish and Norwegian Literary Texts. Proceedings of the 24th Nordic Conference on Computational Linguistics (NoDaLiDa).
@inproceedings{allaith2023sentiment,
title = {{Sentiment Classification of Historical Danish and Norwegian Literary Texts}},
author = {Ali Al-Laith, Kirstine Nielsen Degn, Alexander Conroy, Bolette Sandford Pedersen, Jens Bjerring-Hansen and Daniel Hershcovich},
booktitle = {Proceedings of the 24th Nordic Conference on Computational Linguistics (NoDaLiDa)},
year = {2023},
url = {https://aclanthology.org/2023.nodalida-1.34/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/laith-2023-sentiment-classification-historical-danish-norwegian/