---
title: "SENTIDA: A New Tool for Sentiment Analysis in Danish (2019)"
description: "SENTIDA scores sentiment in Danish texts with a word list and simple rules, and outperforms AFINN on reviews and passages rated by people."
canonical: "https://research.elamur.ai/free/en/papers/lauridsen-2019-sentida-new-tool-sentiment-analysis/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/lauridsen-2019-sentida-new-tool-sentiment-analysis/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2019](https://md.research.elamur.ai/free/en/papers/2019/) / SENTIDA: A New Tool for Sentiment Analysis in Danish

# SENTIDA: A New Tool for Sentiment Analysis in Danish

Paper · 2019 · Gustav Aarup Lauridsen, Jacob Aarup Dalsgaard and Lars Kjartan Bacher Svendsen

**Authors:** Gustav Aarup Lauridsen, Jacob Aarup Dalsgaard and Lars Kjartan Bacher Svendsen · **Year:** 2019 · **Venue:** Journal of Language Works - Sprogvidenskabeligt Studentertidsskrift · **Licence:** No open licence stated (free-to-read copy; rights reserved) — text kept private

[**5** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2993638686) · [Journal of Language Works - Sprogvidenskabeligt Studentertidsskrift](https://openalex.org/S7407067953)

- [Publisher's page](https://tidsskrift.dk/lwo/article/view/115711)
- [PDF](https://tidsskrift.dk/lwo/article/download/115711/163973)
- [OpenAlex](https://openalex.org/W2993638686)

Citations: OpenAlex, 2026-10-14.

## Summary

A Danish customer can put a negative judgment into a review by adding a small word such as *ikke*, meaning *not*. A program that recognizes the favorable word after it may miss the judgment the customer actually made. The authors of SENTIDA address this problem in [sentiment analysis](https://md.research.elamur.ai/free/en/topics/sentiment-emotion/), the task of estimating the direction and strength of an opinion expressed in text. They wanted a tool for written Danish that could handle some common ways in which words change one another’s effect and that could be tested on material from several kinds of writing. The comparison throughout the paper is with AFINN, an existing Danish sentiment word list.

SENTIDA starts with a lexicon, a list that gives individual words a sentiment value. The authors independently rated common Danish words, then reviewed and rated further entries drawn from AFINN. The tool groups related forms under a shared lookup key so that an inflected form can pick up a rating even when that exact form is absent from the list. During scoring, it reverses the contribution of words within a short window after *ikke*, changes the contribution of the word immediately after a recognized adverb, and amplifies a sentence score when there is an exclamation mark. Its output divides the resulting score by the number of words that contributed to it.

The authors tested whether the scores could distinguish favorable from unfavorable Trustpilot reviews and whether they put reviews in roughly the same order as their star ratings. On the held-out portion of the binary task, SENTIDA averaged an accuracy of 0.81 across trials, compared with 0.745 for AFINN. In the separate ranking test, its correlation with review stars was 0.63 against AFINN’s 0.56. The authors also collected short pieces of fiction, political writing, and social media text and had people rate their sentiment. Across that collection, SENTIDA’s correlation with the average human rating was 0.78, compared with 0.55 for AFINN.

These results establish an advantage for the complete SENTIDA tool over AFINN on the authors’ tests. They leave open how much of that advantage comes from the revised word list, the added coverage of inflected forms, or the scoring rules. The tests outside customer reviews also involved few passages per genre. SENTIDA offers a way to summarize sentiment across collections of Danish texts, with a set of local rules whose behavior a reader can trace from the words and punctuation that trigger them.

## Deep dive: SENTIDA: A New Tool for Sentiment Analysis in Danish

SENTIDA scores sentiment in Danish texts with a word list and simple rules, and outperforms AFINN on reviews and passages rated by people. · about 32 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Turning written opinions into a measure

The paper starts from the growing availability of opinions written for other people to read. Reviews, blogs, forums, and posts can reveal how groups of people respond to a product, a service, or a public issue. The practical problem is that reading each item becomes harder as the collection grows. An automatic score makes it possible to sort texts or summarize their tendency across a collection. How informative that summary is depends on whether the procedure recognizes the judgment an author conveyed.

A sentiment score captures a particular property of language. In this paper, the property is *valence*, the direction of an evaluation from unfavorable to favorable, together with its strength. On such a scale, irritation and intense anger can both count as negative, while their degree differs. A position near the middle might indicate that the passage contains no clear judgment or that it expresses competing judgments. Those cases can produce a similar score even though a reader would describe the passages differently. The paper concentrates on where a text falls along the scale.

Sentiment analysis is part of [natural language processing](https://md.research.elamur.ai/free/en/concepts/natural-language-processing/), the computational study and treatment of language. The authors mention prior uses in research on depression and financial markets, as well as in businesses interested in what customers say. These examples motivate the need for a way to process substantial amounts of text. The immediate research problem is narrower. To judge whether a Danish scoring tool is dependable, researchers need Danish texts with an independent indication of the sentiment those texts convey.

#### What a word list can tell you

A sentiment lexicon makes a general judgment about an individual word. If people tend to use a word when describing something favorably, the entry can assign it a positive value. Another word may receive a negative value, with a larger magnitude to represent stronger disapproval. A simple program looks up the words it encounters and combines the values available to it. A total reflects the accumulated value of the matches. An average expresses the tendency of whichever words entered the calculation.

The authors place this style of scoring in the bag-of-words family. A plain bag of words treats the expressions in a sentence as a collection of items and drops their order and grammatical relationships. As a result, it can recognize a word associated with approval while losing the information that a nearby word denies that approval. A similar problem arises when an adverb strengthens an evaluation or softens it. The word being evaluated may have a sensible lexicon entry in isolation, while its contribution to the sentence needs to be adjusted.

The approach is still attractive because a small set of operations can turn a sequence of familiar words into a score. It also makes mistakes easier to inspect. A surprising result may lead back to a particular word value or to a missing entry. That is the starting point for SENTIDA. The authors retain individual word ratings and add limited uses of order and punctuation at places where they expect those signals to matter consistently.

#### Why AFINN was the comparison

The authors describe Danish as a language with relatively few computational resources for this task and place it in the context of research on [low-resource languages](https://md.research.elamur.ai/free/en/topics/low-resource-languages/). They contrast the available Danish options with the development of sentiment tools for [English](https://md.research.elamur.ai/free/en/topics/english/). Their principal Danish predecessor is AFINN, a lexicon compiled by Finn Årup Nielsen. Its words were assigned values on a discrete scale running from -5 to +5. AFINN was aimed mainly at short online writing such as tweets. The paper also cites earlier work using it to examine political bias in Danish newspapers, an example of applying the same resource outside its original setting.

AFINN’s Danish list contained 3552 entries as counted in the paper. After accounting for inflected variants, the authors give a vocabulary count of 3089. Several forms of *fattig*, meaning *poor*, illustrate the difference between the two counts. A list of individual forms can recognize the forms it includes. The authors’ concern was how much distinct vocabulary the list covered, and whether a procedure for grouping forms could make a word rating available more widely.

The authors also inspected the plausibility of individual values. In a random sample of 200 AFINN words, they singled out three cases where they judged the rating substantially off. One was *udsigtsløs*, which can mean *hopeless* or *futile* and had a score of +2. This is a judgment about a sampled entry. It illustrates how an unexpected sign can enter a text score, but the inspection does not give a rate of text-level errors. The authors also note that AFINN’s ratings came from a single person, leaving the amount of agreement another annotator might have achieved unknown.

The validation gap mattered as much as these observations about the vocabulary. The paper identifies AFINN as the natural reference for a new Danish tool while describing its performance as insufficiently established at the time. A side-by-side test on the same review texts or the same annotated passages gives each tool the same target. To make that test possible, the authors assembled review collections and a separate set of passages with direct human ratings alongside the development of SENTIDA.

#### Why use more than one kind of reference?

Online reviews offer a readily available pairing between written comments and a judgment supplied by the person who wrote them. A star rating puts a review somewhere on an ordered scale, and researchers can group reviews into favorable and unfavorable examples or test how well text scores follow the ordering. This suits the paper’s interest in both polarity and strength. It also leaves room for a reviewer to use stars in a way that only partly reflects the wording of the comment.

For passages outside customer reviews, the authors needed a different reference. A piece of fiction or political writing comes without a customer’s star rating. Readers can instead assign a sentiment value to the passage after considering the whole piece. Their ratings provide a point of comparison for a program that mainly works with individual words. The review and passage tests therefore address related questions with different sources of judgment. They ask whether the tool recovers the direction associated with a reviewer’s own stars and whether it follows the assessments of people asked to read for sentiment directly.

### The method, step by step

#### Choosing words for the lexicon

SENTIDA has a preparation stage and a scoring stage. During preparation, the authors select Danish words, give them sentiment values, and build a lookup list that can recognize related forms. During scoring, the program breaks a new text into words, retrieves values where it can, applies its rules, and calculates a mean. The scoring stage needs the text and the prepared resources. The human judgments that give those resources their values are made earlier.

The starting vocabulary came from Det Danske Sprog- og Litteraturselskab, abbreviated DSL. Its frequency list contained the 10.000 most common [lemmas](https://md.research.elamur.ai/free/en/concepts/lemma/) in the resource. A lemma is the conventional form under which related forms of a word can be listed. An infinitive may represent a verb with several forms in actual writing. The DSL list was based on BAKSPEJLET, a corpus assembled in 2016 from material across domains and spanning 1983 until 2016. The authors used the frequency list because they wanted a starting vocabulary for general written Danish.

The first filter was grammatical. The authors retained adjectives, adverbs, common nouns, verbs, and interjections, categories they expected to supply many words carrying sentiment. An adjective can directly express approval or disapproval. A verb or a noun can also bring an evaluation into a sentence even when there is no overt description such as *good* or *bad*. The filter left 9.779 lemmas for rating. Frequency identified candidates for the work of rating, while the rating itself determined whether they supplied favorable, unfavorable, or neutral evidence.

Using frequent vocabulary and using a broad source corpus serve different purposes. Frequency gives priority to words that readers are likely to encounter. Drawing from several types of writing helps the preparation avoid a vocabulary selected wholly from reviews or social media. A common Danish word may still have different implications in different settings. The scope of the starting list gives the final tool an opportunity to recognize words across those settings, and the evaluations test how far that opportunity translates into useful scores.

#### Giving words a direction and a strength

Each author independently carried out the [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/) of the selected lemmas. In this case, annotation means assigning a numerical sentiment judgment to a word. The coding scheme used an 11-point scale like AFINN’s. A value of 0 represented neutrality, -5 marked very strong negative feeling, and 5 marked very strong positive feeling. The sign gives the direction of the rating, and its distance from the center expresses strength. Because the authors rated the lemmas separately, their judgments could be compared before being combined.

The paper reports a Krippendorff’s alpha of 0.667 for the independent lemma ratings. Alpha is an agreement statistic that takes into account the agreement expected by chance. Here it measures how consistently the authors applied the lexical coding scheme. The paper treats this value as grounds for tentative use of the ratings. Even when annotators recognize the same word as negative, for example, they may differ on how strong the judgment ordinarily is. Assigning a common value requires a decision about how to combine those assessments.

The authors averaged their ratings for each lemma. They then omitted lemmas whose accumulated rating was 0. This makes the stored list a resource for words with a net contribution to the sentiment score. Averaging can also produce values between adjacent points on the original rating scale, as the numerical examples in the paper illustrate. A decimal entry can consequently reflect the combination of judgments made on a discrete scale.

The authors compared the resulting word list with AFINN and looked for lemmas present in AFINN that they had yet to include. They found 1379 such candidates, examined them, and annotated them under the SENTIDA coding scheme. AFINN thus contributes vocabulary to its successor and serves as a benchmark in the validation. The added candidates went through the authors’ own scoring procedure, so their presence in the new lexicon does not imply that their numerical values came from AFINN.

The order of these operations matters. The common Danish vocabulary was the basis of the first pass, and the comparison with AFINN identified an additional source of possible sentiment words. The result reflects choices about which words to consider, which values to assign, and which values warrant inclusion. Those choices are part of the construction of the tool rather than parameters learned from Trustpilot stars. The regression fitted later in the paper serves a different role, turning an already computed review score into a prediction for the validation task.

#### Making word forms share a rating

Written Danish often presents a word in a form other than its dictionary entry. SENTIDA uses [stemming](https://md.research.elamur.ai/free/en/concepts/stemming/) to match such forms. Stemming reduces a form to a shorter key by applying rules to its spelling. The authors used the Snowball stemmer through the SnowballC package in R. They stemmed the entries in the prepared lexicon and used the same stemmer on the words of an incoming text so that both sides of the lookup could arrive at the same key.

The paper illustrates the idea with *spille*, the Danish verb for *play*. Its stem is *spil*. Forms such as *spillende* and *spillerne* can then be recognized through that shorter form. The example also illustrates why a stem should be understood as a lookup key. Some of the words that reach it are related through derivation or closely associated meanings, along with grammatical variants of a word. Sharing the spelling produced by the stemmer is the condition for sharing a lexicon entry.

After stemming the entries, the authors brought together items that produced an identical stem and used their mean value for that shared key. The resulting lexicon had 5263 entries. The authors estimate that these entries can detect ~35.000 Danish words. The larger figure describes the reach they attribute to the lookup process over surface forms. It is distinct from the number of entries and from the number of forms actually found in any evaluation collection. The paper reports no match count for individual test corpora.

There is a tradeoff in choosing a key this way. A common stem lets a rating travel to forms that would otherwise need individual entries. Different words can also arrive at the same stem. The paper gives *adskille*, meaning *separate*, and *adskillige*, meaning *several*, as an example. When different source words contribute to a shared value, that value is an average for the key. A future match to that key then receives the shared value without a separate word-sense decision.

Stemming belongs to a different part of the procedure from the rules for negation, adverbs, and punctuation. It controls whether a word receives an available value and which value the program retrieves for it. The rules control what is done with a value in particular surroundings. Separating these steps makes it possible to follow the authors’ examples, because the score an example starts with is already the score chosen at lookup.

#### From the input to individual contributions

The program takes a text string and performs [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/), here the division of the string into words for processing. It stems the words and looks for the resulting keys in the lexicon. A successful lookup supplies a rating to the calculation. SENTIDA then uses local information such as the position of a negation or modifier, along with the presence of an exclamation mark, to adjust the scoring. Ordinary words without a usable entry provide no lexical rating of their own.

Think of a passage in which the program recognizes a favorable adjective and, later, an unfavorable verb. With a plain lookup, their contributions can pull the overall score in different directions. If the adjective follows a negation, SENTIDA can change the sign of that particular contribution before pooling it with the rest. If the passage contains many other words that supply no sentiment value, those words are outside the denominator specified in the paper. Their presence can still matter when a rule counts positions in the sequence.

How SENTIDA scores Danish text The steps in order.

#### Negation reverses scores in a short window

The negation rule is triggered by *ikke*. It reverses the scores of the next two words. The window is defined by word position. A word that happens to carry no rating can occupy a place in that window, and a sentiment word farther to the right can fall outside it. The rule gives the tool a limited way to use word order while keeping the decision about scope simple.

```
s′ = -1 × s
```

Here `s` is the rating of a word in the window after *ikke*, and `s′` is its adjusted contribution. The prime mark identifies the adjusted version of the rating. `×` denotes multiplication, and `-1` is the sign-reversing multiplier. `=` indicates that the result of the multiplication is the value used for `s′`.

The paper demonstrates the rule with *behageligt*, meaning *comfortable*, following *ikke*. The adjective enters the example with a value of +3 and contributes -3 after the reversal. The sign changes while the strength stays on the same scale. The operation also has the reverse effect on an unfavorable word. A negative lexical rating becomes favorable when the same multiplier is applied.

The position of *ikke* is sometimes a misleading cue. The authors point out that a speaker may use it in a question that invites agreement. A positive description can follow *ikke* in that construction even though the speaker is expressing or seeking confirmation of a favorable view. Danish also permits a response-seeking use after a description, where the cue’s position differs from that in the authors’ question example. SENTIDA treats the marker mechanically. Its typical use as negation supplies the motivation for the rule, while these conversational uses illustrate why a fixed window is an approximation.

#### Adverbs adjust the next word

The modifier list gives selected adverbs multipliers for the scores of the words that immediately follow them. An intensifier moves an existing contribution farther from neutrality, and a downtoner moves it closer to neutrality. The operation preserves the sign. This is a difference in what the adverb is assumed to do. Where negation exchanges the direction of a rating, an intensifier or downtoner changes its magnitude.

```
s′ = m × s
```

In this expression, `s` is the lexical rating of the word immediately following a recognized modifier. `m` is the multiplier assigned to that modifier. `s′` is the changed word contribution, with the prime marking the result of the adjustment. `×` means multiplication, and `=` assigns the value of the product to `s′`.

The paper draws on earlier work by Dragut and Fellbaum for some of the multipliers. The authors translated suitable adverbs and carried over the corresponding strengths, working on the assumption that the uses were similar across the two languages. For additional Danish adverbs, they assigned values themselves. This combines an existing description of how modifiers affect sentiment with judgments about which expressions should be handled in Danish.

The reported list includes *meget* and *ekstremt*, each with a multiplier of 1.2, and *mega* and *seriøst*, each with 1.4. It also gives *totalt*, *utroligt*, and *rimelig* multipliers of 1.2. The downtoner *lidt*, meaning *slightly* in this use, has a multiplier of 0.8. The values are assigned by item. Each listed item has a specific operation attached to it when the word follows the position assumed by the rule.

The paper’s review example gives *irriterende*, meaning *annoying*, a starting value of -2.667. The preceding *meget* triggers the multiplier of 1.2, and the example reports an adjusted contribution of -3.2. The review sentence also contains other terms with ratings. The changed value illustrates what happens at the modifier’s target, after which the sentence calculation still needs to account for any other contributing words.

#### Punctuation adjusts the sentence score

An exclamation mark has a wider reach than either word-level rule. If the sentence includes one, SENTIDA multiplies its score by 1.291. This makes a positive result more positive and a negative result more negative. A sentence whose contributions balance at neutral stays neutral under the multiplier. The punctuation marks emphasis in the score; the words and their adjustments supply the direction.

```
S′ = 1.291 × S
```

`S` is the sentence score before the exclamation adjustment, and `S′` is the resulting sentence score, with the prime indicating its adjusted form. `1.291` is the punctuation multiplier, `×` is multiplication, and `=` relates the adjusted score to the product.

The authors motivate the choice with an earlier estimate of an average increase of 29.10% in perceived sentiment associated with an exclamation mark. Their Danish review example contains *uprofessionelt*, meaning *unprofessional*. The starting score shown is -4, and the paper gives -5.164 after applying the factor. The change is to the intensity of the disapproval. The multiplier can also produce a sentence score outside the original scale used to rate individual lemmas, as that example shows.

#### Averaging the contributions

At the end of the procedure, SENTIDA divides the adjusted score by the number of words contributing to it. The authors choose this mean to reduce dependence on text length. A passage can collect a larger total simply by containing more instances of evaluative language. Dividing by the count of contributing words yields an average contribution, which better matches the authors’ aim of comparing the sentiment strengths of texts of different lengths.

```
M = T ÷ N
```

`M` is the mean sentiment score returned for the input. `T` is the total after the word-level adjustments and any applicable sentence-level punctuation adjustment. `N` counts the words contributing to the score. `÷` denotes division, and `=` defines `M` as the quotient.

The choice of denominator affects the interpretation. A long passage with a small number of recognized sentiment words is scored according to those words. Unmatched material does not dilute the average simply by making the passage longer. Accordingly, a relatively high mean can summarize a sparse set of matches or a more extensive set with a similar average. The paper describes the score as a measure of sentiment and does not report a separate measure of how much of each text the lexicon covered.

The authors made SENTIDA available for download and use in RStudio. The lexicon, stemmer, and heuristic multipliers make up the scoring procedure described in the paper. There is no step in that procedure in which a reviewer’s stars determine the rating of a word. Stars enter the study later, as the outcome to predict or the reference against which existing SENTIDA and AFINN scores are ranked.

### Experiments and results

#### What the authors tested

The authors compared SENTIDA with AFINN using Trustpilot reviews and short passages from other domains. The Trustpilot material supports two tests with different targets. In one, a review must be classified as favorable or unfavorable. In the other, differences in stars form an ordering that the sentiment scores are expected to follow. The passages have direct human judgments of sentiment and support a separate ranking test.

These distinctions matter for interpreting the numbers. A classification accuracy reports how frequently a prediction falls on the correct side of a boundary. A rank correlation summarizes whether higher scores tend to accompany higher reference ratings. A tool can rank many items appropriately while making some mistakes near a binary decision boundary. It can also separate the extremes adequately while giving little sense of ordering within a class. The paper uses both measures to examine different consequences of assigning a score.

#### Collecting reviews and defining the labels

The authors collected 8800 Danish Trustpilot reviews across categories. Review length averaged 74.6 words, with a standard deviation of 78.9 words. Standard deviation describes how much the observations vary around the mean. In this case it shows that the texts had considerable variation in length, a relevant condition for a scoring method that averages word contributions.

Corpus I contained 7019 reviews and supplied the binary classification task. Reviews with 1 or 2 stars were assigned to the negative class, and reviews with 4 or 5 stars to the positive class. The middle rating was left out. The classes are therefore defined by how reviewers used the star scale. The text of the review supplied the evidence to the sentiment tools, while the stars supplied the expected answer.

Corpus II contained 5307 reviews and was formed by retaining reviews with 1, 3, or 5 stars. This preserves a middle group and removes intermediate ratings between the middle and the extremes. The authors took the idea from the evaluation of VADER, an English sentiment tool. They give the earlier researchers’ view that reviews in adjacent groups at either extreme can be difficult to distinguish. The choice makes the Trustpilot ranking task an evaluation on selected star levels and leaves the full star scale for a separate test.

The two Trustpilot corpora came from the same review collection. Their distinct selection rules make them useful for different purposes, and reviews at the extremes are eligible for either corpus. Results on the two tasks are evidence about different measures applied to related material. The independently rated passages supply a different kind of evidence because they have a different source of texts and a different source of human judgment.

#### Predicting positive and negative reviews

The authors fitted a separate logistic regression for each tool. Logistic regression takes a predictor and estimates the probability of a binary outcome. Here the predictor was the mean text sentiment score, and the outcome was the review’s positive or negative class. Fitting a regression gave each scoring tool its own estimated relationship between its numerical scale and the probability that a review belonged to the positive class.

The authors trained on 80% of Corpus I, comprising 5615 reviews, and evaluated on the remaining 20%, comprising 1404 reviews. The split concerns the fitting and evaluation of the classifier. SENTIDA’s lexicon and rules produce the input score for each review. During training, the regression uses scores and known classes to estimate the relationship. On the held-out reviews, the score supplies a probability, and the class is predicted from that probability. The paper specifies a positive classification above 50% and a negative classification below 50%.

For SENTIDA, the paper reports χ²(1) of 2422.8 with p \< .001 for the relationship between mean text sentiment and the review’s polarity. The fitted coefficient was 2.49, with a standard error of 0.07, a z statistic of 35.57, and p \< .001. The odds ratio was 12.09. The coefficient gives the change in fitted log odds associated with a unit change in that tool’s score, while the odds ratio expresses the same relationship as a multiplier on the odds. The positive sign indicates that a higher SENTIDA score was associated with a greater probability of a favorable review.

For AFINN, the corresponding χ²(1) was 1877.1 with p \< .001. Its fitted coefficient was 0.99, with a standard error of 0.03, a z statistic of 35.59, and p \< .001. Its odds ratio was 2.69. AFINN scores also had a positive relationship with the review classes. The authors favor the SENTIDA fit based on the larger chi-squared statistic. Since a unit of score comes from a separate scoring procedure in each case, the coefficients and odds ratios describe the fitted relationships on their respective scales. The accuracy comparison directly evaluates the decisions made from those relationships.

On the held-out reviews, the authors report mean accuracy over 10 trials. SENTIDA averaged 0.81 with a standard deviation of 0.01. AFINN averaged 0.745 with a standard deviation of 0.02. The SENTIDA entries for individual trials range from 0.80 to 0.83 in the paper’s table. Those figures show both the advantage in average accuracy and how closely the reported performance clustered across trials.

Held-out binary classification accuracy on Trustpilot Corpus I SENTIDA has higher mean accuracy across the reported trials.

**The numbers**

| System or setting | accuracy |
| --- | --- |
| AFINN | 0.745 |
| SENTIDA (this paper) | 0.81 |

Accuracy counts a correct positive prediction and a correct negative prediction alike. It answers how often the predicted class agrees with the class derived from stars. The result reported here belongs to the combination of the sentiment score and the fitted decision procedure. It gives an engineer a concrete comparison between score sources for this task, while leaving the performance of a direct cutoff on the SENTIDA score itself unmeasured.

#### Ranking reviews by star rating

For Corpus II, the authors used Spearman rank-order correlation. This measures how well the order of one set of values follows the order of another. Reviews with more stars should usually receive higher sentiment scores if the two measures agree about relative favorability. The numerical spacing between sentiment scores need not match the spacing of the star categories. A correlation also allows individual reviews to fall out of order while expressing how strongly the overall ordering tends to agree.

SENTIDA’s mean review scores had a correlation of 0.63 with the star ratings in Corpus II, and AFINN’s scores had a correlation of 0.56. Both were reported at p \< .001. The authors interpret both coefficients as strong positive associations and favor SENTIDA for the larger coefficient. This test uses the ranking of the text scores directly, so there is no need to fit the binary prediction procedure from the earlier experiment.

Spearman correlation with star ratings on Trustpilot Corpus II The ordering from SENTIDA scores follows the review stars more closely.

**The numbers**

| System or setting | Spearman correlation |
| --- | --- |
| AFINN | 0.56 |
| SENTIDA (this paper) | 0.63 |

The paper places these results alongside an earlier English-language evaluation on Amazon reviews. It reports correlations of .571 for the Hu–Liu lexicon and .565 for VADER in that evaluation. The authors note that SENTIDA’s coefficient on their Trustpilot corpus is larger. The comparison puts the observed coefficient in the context of other work on consumer reviews. The scores were obtained from different collections in different languages, so a shared task description is the basis for the comparison.

#### Collecting and rating passages from several domains

For the direct human comparison, the authors assembled 45 sentiment-bearing texts from political writing, fiction, and social media. They describe the texts as randomly chosen and report 15 texts per domain. The passages were short, averaging 37.3 words with a standard deviation of 15.9 words. This part of the evaluation asks whether the approach also tracks judgments about texts written for purposes other than reviewing products or services.

Six people, including the authors, rated the texts individually on a scale from -5 to 5. The average of those ratings became the reference score for each passage. The readers could take into account the full wording and context of a passage when deciding on a value. The reference is therefore a judgment about the assembled text. It uses a similar scale to the lexical rating scheme, while the decisions being made are at a different level.

The paper reports Krippendorff’s alpha of 0.901 for the passage ratings. This indicates close agreement under the annotation procedure for these particular texts. It concerns the reliability of the people’s ratings, whereas the next coefficients concern the relationship of the automatic scores to the averaged human ratings. Having agreement data helps interpret that relationship. If the readers themselves had arrived at widely divergent judgments, any comparison to their mean would have had a less stable reference.

#### Comparing the scores with the passage ratings

The authors computed Spearman correlations for each genre and for the collection as a whole. Across all passages, SENTIDA reached 0.78 while AFINN reached 0.55, both at p \< .001. The pooled comparison asks whether the scores rank the passages similarly to the readers when the genres are combined. The separate coefficients ask whether the tendency also appears within each genre, where the broad differences among genres cannot by themselves account for the ordering.

For political passages, the correlations were 0.72 for SENTIDA and 0.54 for AFINN. For fiction, the figures were 0.74 and 0.53. For social media, they were 0.86 and 0.55. The SENTIDA correlations were reported at p \< .01 for politics and fiction and p \< .001 for social media. The AFINN correlations were reported at p \< .05 in each of the individual genres. These significance levels describe evidence for an association in each comparison to the human scores.

Spearman correlation with human sentiment ratings on the passage corpus SENTIDA has the higher correlation within each genre and across the pooled passages.

**The numbers**

| System or setting | Spearman correlation |
| --- | --- |
| AFINN, politics | 0.54 |
| SENTIDA, politics (this paper) | 0.72 |
| AFINN, fiction | 0.53 |
| SENTIDA, fiction | 0.74 |
| AFINN, social media | 0.55 |
| SENTIDA, social media | 0.86 |
| AFINN, all passages | 0.55 |
| SENTIDA, all passages | 0.78 |

The paper reports gaps of 0.18 in politics, 0.21 in fiction, and 0.31 in social media, with a gap of 0.23 when all passages are pooled. Social media produced the strongest SENTIDA correlation among the sampled genres. The result is promising for a tool intended for varied text because the ordering is closer to the human reference in every group. The texts within each group are few enough that the relative performance across genres remains a separate question from the pattern observed in this collection.

### What the ablations show

#### Comparing the tools as complete systems

The paper reports no component ablations, in which a feature is switched off while the rest of the system is held fixed, but it does offer comparisons between the complete tools, a description of the new lexicon’s ratings, and examples that trace the scoring rules.

The AFINN comparison holds the target texts and their reference judgments constant within each experiment. In the binary test, the paper uses the same kind of prediction procedure for both sets of scores. In the ranking tests, each score is compared with the same stars or the same human assessments. That design makes the relative performance interpretable as a comparison between the tools as used in the study. SENTIDA’s advantage appears with both types of review evaluation and also when the reference comes from direct reading of passages.

There are several changes between the complete tools. SENTIDA draws on a new pool of frequently used lemmas, assigns values through multiple independent ratings, incorporates stems into lookup, and changes scores using local rules. AFINN also supplies some of the candidates for the new lexicon. Given this relationship, the two resources share vocabulary in addition to differing in how scores are obtained. The results leave the contribution of each change unresolved, including whether the gains depend on several changes acting together.

#### What the lexicon inspection reveals

The authors examine the distribution of values in the final stemmed lexicon. They report 2839 positive stems, corresponding to 54%, and 2424 negative stems, corresponding to 46%. Around the middle, roughly 53% of stems had scores between -1 and 1. The authors also report that 11% had scores in the negative range between -3 and -5, while 5% had values in the positive range between 3 and 5. Thus there are more positive entries overall, alongside more entries in the strongly negative tail than in the strongly positive tail.

That distribution describes which ratings can enter a calculation. The tendency of an actual passage score also depends on which entries people use, how frequently the stemmer finds them, and whether rules alter their contributions. A positive stem count tells us about the inventory without telling us how many positive matches occurred in a particular corpus. Likewise, the estimate of how many forms can be recognized describes the resources available to lookup and leaves actual recognition rates by domain unspecified.

The paper’s treatment of agreement offers another view of the data. The alpha for lemma judgments describes how consistently the authors rated possible lexicon entries. The alpha for passages concerns a different group of readers and a different judgment task. These analyses qualify what each reference represents. Common values assigned to isolated words are a starting point, while readers can use the context of a whole passage when assessing its sentiment. The agreement results alone leave open how much contextual information accounts for the difference between those tasks.

#### What the worked examples reveal

The examples isolate the intended action of each rule in a particular sentence. A comfortable experience can become unfavorable after *ikke*. An already negative description can become more intense when modified by *meget*, and exclamation punctuation can amplify a negative sentence score. The negation example is useful because the change in direction is easy to trace directly to a local cue. The other examples show that an intensity rule can act on a contribution from one word or on the combined sentence score.

These are demonstrations of behavior under the selected conditions. They show that the added rules can produce changes a reader would expect in those examples. The paper gives no breakdown of performance on all reviews containing a negation, a modifier, or an exclamation mark. It also gives no corresponding accuracy for a SENTIDA run with a rule disabled. Accordingly, the evidence for overall performance comes from the full comparisons, while the rules’ examples explain how some individual outputs arise.

The genre results offer a further descriptive comparison. Social media yielded the highest observed SENTIDA correlation and the largest reported gap against AFINN among the genres tested. The paper gives no count of which rules fired in each genre and no coverage measure by genre. Contribution from the lexical ratings, the availability of matches, and the choice of passages can all matter to the observed pattern. The finding supports an account of performance on the sampled passages, and the reason for the especially high result on social media remains open.

### Limitations

#### Limits identified by the authors

The authors point to the reliance on individual words as the central methodological constraint. The scoring rules use brief stretches of sequence and a punctuation cue. A reader can follow grammatical relationships across a sentence and use knowledge of the surrounding text to decide what an expression is doing. That wider interpretation matters when a text attributes an opinion to someone else, expresses an evaluation indirectly, or uses apparently favorable wording to convey criticism. A calculation based primarily on lexical scores has access to only part of that evidence.

The paper calls out homographs, words written the same way that have different meanings. A shared written form can lead to the same lookup entry even if the intended senses differ in valence. The authors also mention [idioms and multiword expressions](https://md.research.elamur.ai/free/en/topics/multiword-expressions/), including sayings whose combined meaning carries an evaluation that is hard to recover from their parts. They identify sarcasm and irony as beyond what SENTIDA can interpret. These examples show how the meaning of a passage can depend on a use of language broader than the meaning usually assigned to an individual word.

The negation rule shows where the added context handling can itself make a mistake. The word *ikke* can introduce an ordinary negation or help frame a question that expects agreement. The rule treats the next positions the same whenever it encounters the cue. Even in ordinary negation, the fixed window assigns scope by distance. A long or syntactically complex construction can place the relevant evaluation outside that span. The examples and description therefore explain the rule’s expected benefit and give reasons to anticipate exceptions.

The shared score for stemmed forms has another limitation that the authors emphasize. The different degrees of *vred*, meaning *angry*, can convey different strengths. *Vredere* and *vredeste* express stronger degrees, yet the shared rating treats them alike in the example. This is a cost of the compression strategy even in a case where the forms really are variants of the same word. When different words collide under a stem, the problem can extend from strength to what the word means in the first place.

The authors identify a limitation in the customer-review labels. Each reviewer decides how to use stars without the common instruction set given to the passage annotators. Stars and prose can therefore diverge. A reviewer might give weight to a part of the experience that occupies little space in the text, or write a mixed account while supplying an overall rating. The validation compares a score of the wording to the reviewer’s recorded choice. A disagreement can reflect the scoring procedure, the relationship between the text and stars, or both.

For the human-rated passages, the authors regard 15 texts in each genre as insufficient for comprehensive validation. They also note that only six people rated each text and that the authors were among those readers. Their participation creates a possible link between what they tended to value in isolated words and the judgments used as a text-level reference. The high agreement on the passages describes how closely the readers scored this sample. It leaves the assessments of a fully independent group of readers unobserved.

The paper also discusses variation in the way people understand sentiment. It invokes prior work, including [OpinionFinder](https://md.research.elamur.ai/free/en/papers/wilson-2005-opinionfinder-system-subjectivity-analysis/), in a discussion of human annotation agreement that it characterizes as ~80%. The underlying point is that human sentiment judgments can differ and that an automated measure should be understood in relation to the kind of judgment it is asked to reproduce. The authors see a role for SENTIDA in large-scale text analysis and reserve a different role for close [discourse analysis](https://md.research.elamur.ai/free/en/concepts/discourse-analysis/), where an investigator can consider how the meaning of an utterance depends on what surrounds it.

#### Further limits of the evidence

The paper’s discussion of human agreement does not establish a universal ceiling for accuracy. Agreement among annotators is a property of a particular task and coding procedure. Binary accuracy against customer-assigned labels is a separate measurement, and SENTIDA’s own review table includes trials above 0.80. The comparison depends on what people were asked to judge and which labels count as the target. It is possible for a tool to predict a set of recorded labels fairly well while reproducing only some of the contextual understanding of the readers who might assess the same texts.

The Trustpilot results concern selected reviews and specific label definitions. Omitting the middle rating in Corpus I makes room for a binary target, and omitting intermediate categories in Corpus II emphasizes the separation among the remaining star levels. The effect of these choices on the relative performance of the tools is unmeasured. For instance, the ranking result leaves open how well SENTIDA could distinguish the neighboring star levels excluded from that test. The binary accuracy likewise leaves open how often the system would correctly identify a review whose text and rating both express a middle position.

Accuracy by itself also leaves open whether mistakes were concentrated in favorable reviews or unfavorable reviews. The paper reports overall performance and dispersion across trials, which are useful for comparing the tools on the specified task. A separate breakdown by true class and predicted class would answer a different question about the character of the errors. For an application such as finding complaints, the ability to identify unfavorable reviews reliably would have a meaning of its own even when overall accuracy was the same.

The correlation tests tell us about ordering and are compatible with differences in the values assigned on the sentiment scale. SENTIDA can rank two passages in the same order as human readers while assigning strengths that are farther apart or closer together than the readers’ ratings. A moderate machine score might also correspond to a very strong human rating while leaving the ordering intact. The paper’s evidence for agreement on strength is therefore chiefly evidence about relative strength. The accuracy of the score as an estimate of an individual human rating remains open.

There are also unanswered questions at the level of implementation. The method specifies an average over words contributing to a score. A text with no matches gives that description no usable denominator, and the paper leaves the returned value in that case unspecified. The description also leaves the handling of overlapping adjustments and repeated punctuation unclear. The worked examples are enough to check the isolated operations on which they focus. Edge cases such as a modifier inside a negation window or a long text with several marked sentences would require more detail to reconstruct exactly.

The experiments support the intention behind choosing common vocabulary and testing outside consumer reviews. They cover a small set of short, sentiment-bearing passages from the named genres. Generalization to longer documents, neutral passages, or other kinds of written Danish remains unmeasured. Even within the genres tested, the observed differences between correlations are based on particular selections of texts. The significance reported for each correlation assesses its association with the human scores, and the paper gives no direct test of the differences between the tools’ coefficients or of the differences across genres.

Finally, the comparisons to English tools and to work such as [Socher and colleagues’ sentiment treebank](https://md.research.elamur.ai/free/en/papers/socher-2013-recursive-deep-models-semantic-compositionality/) give the authors context for discussing their results. They involve different datasets or tasks. The direct evidence for SENTIDA’s relative standing comes from the comparison with AFINN on shared material. The tests establish an improvement over that baseline under the paper’s validation conditions, leaving broader comparisons to evaluations that run the contenders on a common task.

### What came after

The record of citing work contains no documented follow-up to trace. The paper closes with directions the authors considered for SENTIDA itself, including expanding the vocabulary, involving more annotators, and exploring selective use of [machine learning](https://md.research.elamur.ai/free/en/concepts/machine-learning/) alongside lexical scoring. The first two proposals address coverage and the reliability of ratings. The third concerns how the tool might account for context while keeping its straightforward scoring procedure. These are proposed developments from the paper. Their effects on later versions or evaluations remain unestablished.

## Cite

Cite as Gustav Aarup Lauridsen, Jacob Aarup Dalsgaard and Lars Kjartan Bacher Svendsen. 2019. SENTIDA: A New Tool for Sentiment Analysis in Danish. Journal of Language Works - Sprogvidenskabeligt Studentertidsskrift.

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

```bibtex
@article{lauridsen2019sentida,
  title = {{SENTIDA: A New Tool for Sentiment Analysis in Danish}},
  author = {Gustav Aarup Lauridsen, Jacob Aarup Dalsgaard and Lars Kjartan Bacher Svendsen},
  journal = {Journal of Language Works - Sprogvidenskabeligt Studentertidsskrift},
  year = {2019},
  url = {https://tidsskrift.dk/lwo/article/view/115711}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
