---
title: "DaNLP — paper by Pauli et al. (2021) — summary and ideas"
description: "DaNLP brings Danish text analysis and datasets into one open-source toolkit and tests a game for collecting sentiment labels on tweets."
canonical: "https://research.elamur.ai/free/en/papers/pauli-2021-danlp-open-source-toolkit-danish/"
---
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/pauli-2021-danlp-open-source-toolkit-danish/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2021](https://md.research.elamur.ai/free/en/papers/2021/) / DaNLP: An open-source toolkit for Danish Natural Language Processing

# DaNLP: An open-source toolkit for Danish Natural Language Processing

Paper · 2021 · Amalie Brogaard Pauli, Maria Barrett, Ophélie Lacroix et al.

**Authors:** [Amalie Brogaard Pauli](https://md.research.elamur.ai/free/en/authors/amalie-brogaard-pauli/), [Maria Barrett](https://md.research.elamur.ai/free/en/authors/maria-barrett/), [Ophélie Lacroix](https://md.research.elamur.ai/free/en/authors/ophelie-lacroix/) and Rasmus Hvingelby · **Year:** 2021 · **Venue:** Proceedings of the 23rd Nordic Conference on Computational Linguistics (NoDaLiDa) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[**3** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W3173654970) · [Cited by **15** papers in our library of the 163,136 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/pauli-2021-danlp-open-source-toolkit-danish/cited-by/) · [Proceedings of the 23rd Nordic Conference on Computational Linguistics (NoDaLiDa)](https://aclanthology.org/volumes/2021.nodalida-main/) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2021.nodalida-main.53/)
- [PDF](https://aclanthology.org/2021.nodalida-main.53.pdf)
- [OpenAlex](https://openalex.org/W3173654970)

Citations: OpenAlex, 2026-10-14.

## Summary

A company that wants to find names in Danish news or track sentiment in Danish social media needs software that can handle the language, examples on which to test it, and permission to use the resources in its work. The authors of DaNLP describe a situation in which Danish had some of these resources, but finding and using them still took effort. DaNLP gives users a common way to access resources for Danish [natural language processing](https://md.research.elamur.ai/free/en/concepts/natural-language-processing/). It brings together existing work and resources created by the project, using established software frameworks to do the underlying text analysis. The toolkit is open source, and the authors chose resources with commercial use in mind.

The toolkit covers several kinds of analysis. [Named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/) locates and categorizes mentions such as names of people or organizations. [Part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/) identifies grammatical categories such as nouns and verbs. [Dependency parsing](https://md.research.elamur.ai/free/en/concepts/dependency-parsing/) describes how words are related within a sentence, while [coreference resolution](https://md.research.elamur.ai/free/en/concepts/coreference-resolution/) links expressions that refer to the same person or thing. DaNLP also offers [sentiment analysis](https://md.research.elamur.ai/free/en/topics/sentiment-emotion/), [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/), which represent words numerically, and datasets for training and evaluation. A user can load the Danish Dependency Treebank into different frameworks or obtain it in a standard data format. Prediction follows the conventions of the underlying framework, although many resources offer a simple function that takes a sentence.

The paper's main quantitative example concerns data collection. In Angry Tweets, volunteers performed [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/) by judging whether Danish tweets expressed positive, neutral, or negative sentiment. The game incorporated checks using tweets with known labels and rewarded agreement on items another participant had already labeled. The game was completed 114 times. The resulting Twitter Sentiment corpus contains 4921 annotated tweets, with most labeled through the game and 1727 labeled by a trained annotator. Of the corpus, 1266 tweets received two annotations, and agreement on that subset was 65%. The paper identifies datasets used to benchmark the toolkit's text-analysis components and names leading implementations, but its numerical results concern the annotation project.

Conversations with Danish companies and government agencies helped shape the work. Demand for better entity recognition and sentiment analysis put those tasks early in the project. Resources also moved into the frameworks DaNLP used. The DaNE entity annotations enabled Danish support in spaCy, according to the authors, and Danish taggers developed by the project became available directly through Flair. The demonstration shows how a language-specific toolkit can make scattered resources easier to use and contribute new ones where gaps remain.

## Deep dive: DaNLP: An open-source toolkit for Danish Natural Language Processing

DaNLP brings Danish text analysis and datasets into one open-source toolkit and tests a game for collecting sentiment labels on tweets. · about 33 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

#### Why having Danish resources was only part of the problem

The paper starts from the practical position of standard Danish. It is the official language in Denmark and is spoken mainly by the roughly 6M people there, as the authors describe it. The paper follows [The State and Fate of Linguistic Diversity and Inclusion in the NLP World](https://md.research.elamur.ai/free/en/papers/joshi-2020-state-fate-linguistic-diversity-inclusion/) in treating Danish as a medium-resource language. At the same time, it draws on [The Lacunae of Danish Natural Language Processing](https://md.research.elamur.ai/free/en/papers/kirkedal-2019-lacunae-danish-natural-language-processing/) to identify a shortage of available Danish tools and trained components. The project addresses standard Danish. It leaves the minority languages and dialects of Denmark outside its scope.

A resource count gives only a partial view of what a prospective user can do. A dataset may be available in a form that takes work to bring into a training framework. A tool may perform the desired task but depend on a resource whose license makes commercial use difficult. A research implementation may come with a paper and examples while still requiring users to learn an unfamiliar interface before applying it to their own text. These are distinct obstacles in the authors' account. A solution to one still leaves the others for the user to handle.

The paper defines a toolkit by its coverage of multiple tasks in a common framework. A Danish text workflow illustrates why this matters. [Tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/) divides text into units for processing. A tagger can assign those units grammatical categories, a recognizer can mark names across several units, and a parser can assign relationships among the words. These operations are related, but they produce different outputs and may use different training data. Making them available through a shared point of entry reduces the work of discovering resources even when their computational implementations remain separate.

Training data posed a related problem. A large collection of Danish text provides examples of language in use. To train or evaluate a supervised system for a task such as sentiment, researchers also need examples with judgments attached. Text volume cannot supply those judgments on its own. Similarly, a collection annotated for grammatical relations does little to settle which expressions should count as entities unless someone adds the corresponding labels. The project approached annotations as resources worth developing and distributing in their own right.

#### What earlier toolkits already offered

The authors cite a Danish-specific predecessor, [DKIE](https://md.research.elamur.ai/free/en/papers/derczynski-2014-dkie-open-source-information-extraction/), which approached the problem from [information extraction](https://md.research.elamur.ai/free/en/concepts/information-extraction/), the task of identifying structured information in text. Its coverage included tokenization, entity recognition, and grammatical tagging. This established that related Danish analysis tools could be packaged together. In the DaNLP authors' assessment, copyleft or non-commercial terms on those resources reduced their appeal to industry. Copyleft and a commercial-use restriction are distinct licensing conditions. DaNLP's stated preference was for commercial use to be permitted and, where possible, for resource licenses without copyleft obligations.

The paper also places DaNLP in the context of [multilingual NLP](https://md.research.elamur.ai/free/en/topics/multilingual-nlp/). NLTK, [Polyglot](https://md.research.elamur.ai/free/en/papers/rfou-2013-polyglot-distributed-word-representations-multilingual/), spaCy, and Stanza are among the packages it mentions as offering some support for Danish. It also names [UDPipe](https://md.research.elamur.ai/free/en/papers/straka-2016-udpipe-trainable-pipeline-processing-conll/) and Apache OpenNLP. These examples explain the decision to work with established frameworks. A framework able to serve several languages already supplies machinery for loading data, training components, or running predictions. The work specific to Danish can then concentrate on the available corpora, annotations, trained resources, and how people reach them.

The discussion includes precedents beyond Danish. The authors mention language-specific work for Icelandic, including a [grammar and parsing system for Icelandic](https://md.research.elamur.ai/free/en/papers/thorsteinsson-2019-wide-coverage-context-free-grammar/), and toolkits and analysis systems for Dutch. The comparison establishes that a toolkit organized around a language was an existing approach for comparable Germanic languages. The paper presents these examples as context. It gives neither an exhaustive inventory nor a feature-by-feature assessment of the earlier packages.

The choice of interface also had precedents. The authors drew on scikit-learn and spaCy when designing consistent calls for loading and applying resources. That design matters to users who need a corpus in one framework for training and a ready-to-use Danish component in another for inference. The project had to decide which parts of that experience it could make consistent and where the different frameworks still needed to expose their own conventions.

#### Why the project involved potential users

The authors treat the gap in Danish processing as both a software problem and a coordination problem. Academic researchers and industrial users can have different reasons for wanting the same underlying resource. A research group may want a corpus with a documented annotation scheme and a fixed test partition. A company may first ask whether it can apply a recognizer to its own documents. Both depend on the availability of the underlying examples and on knowing how the resource was built. The toolkit gives these users a common place to start.

The project's industrial emphasis came from conversations with organizations at different stages of using language technology. Some already worked on Danish processing and wanted more raw and labeled data. Some were exploring what the technology might do. Others had a particular application in mind and asked for better performance on the relevant task. An inventory of academic resources alone could reveal where coverage was thin. These conversations could reveal which gaps mattered to people trying to use the tools.

Entity recognition and sentiment became early priorities because they came up in those conversations. The paper gives a concrete setting for each. Infomedia wanted to improve an existing recognizer used on news articles. The Danish Broadcasting Corporation wanted to monitor mood on its social media platform. Both applications involve reading Danish text at a scale where automation is attractive, but the desired outputs differ. News monitoring needs to identify what names appear in articles. Monitoring the tone of a social platform needs judgments about how people express themselves.

A different audience mattered for annotation. The project had already used trained annotators and found the conventional procedure costly in time and effort. The authors describe [earlier gamified emotion annotation](https://md.research.elamur.ai/free/en/topics/sentiment-emotion/) as a precedent for asking participants to judge items with known labels and items already judged by another participant. They took up that arrangement partly to collect data and in part to give volunteers direct experience with what labeling a language dataset entails. The annotation game and the toolkit therefore address connected problems. One builds examples for a task that users wanted. The other makes resources for that task easier to find and apply.

### The method, step by step

#### Organize resources around the user's task

DaNLP begins with a decision about what to package. The project brings together data, trained components, and interfaces for working with them. It incorporates resources already made elsewhere and adds resources created within the project. The distinction matters for provenance. The toolkit's documentation identifies developers and records training details, benchmark information, and examples of use. A user can therefore start with a common interface and still trace a resource to the work behind it.

The paper describes a toolkit design and several resource-specific training procedures. It introduces no mathematical formula for the toolkit. The shared operation is loading or adapting a resource through a wrapper, a small piece of code that calls the underlying implementation on the user's behalf. DaNLP uses wrappers around packages including spaCy, Gensim, [Flair](https://md.research.elamur.ai/free/en/papers/akbik-2018-contextual-string-embeddings-sequence-labeling/), and [Transformers](https://md.research.elamur.ai/free/en/papers/wolf-2020-transformers-state-art-natural-language/). Each package can keep the representations and conventions that suit its implementation. DaNLP supplies a consistent starting point for finding and loading the Danish resource.

The following sequence describes that interaction. It includes an evaluation step because the paper treats access to task data as part of the toolkit's purpose, alongside access to trained components. A user interested in training can enter the sequence with a corpus. A user interested in applying an existing component can start with the corresponding loader.

Working with a Danish resource through DaNLP The steps in order.

#### Make the same corpus accessible in several forms

The Danish Dependency Treebank is the paper's clearest example of how loading works. A [treebank](https://md.research.elamur.ai/free/en/topics/treebanks/) is a collection of text annotated with grammatical structure. This one draws its texts from the Danish PAROLE corpus. Over time, the same underlying text acquired several layers of annotation. The DaNLP paper emphasizes its conversion to [Universal Dependencies](https://md.research.elamur.ai/free/en/concepts/universal-dependencies/), its coreference annotation, and the addition of entity labels released as DaNE. Each layer answers a different question about the text. Grammatical structure describes relations within sentences. Coreference links expressions that denote the same entity. Entity labels mark and categorize mentions.

In the usage example, the authors create a Danish Dependency Treebank object in DaNLP. That object gives them access to a spaCy representation, a Flair representation, and a version in CoNLL-U, the structured text format for Universal Dependencies data. The examples illustrate a resource with several usable forms. A training routine in a particular framework can receive the form that framework understands. A user who wants the annotations in an exchange format can obtain them without first learning the internal objects of a training package. The paper also identifies DataFrames, which organize data in rows and columns, as an available kind of representation for datasets.

This approach separates a corpus's identity from the way a particular program represents it. An annotation layer belongs to the corpus. A framework loader determines how to deliver the relevant data to the consuming program. The distinction matters when deciding which resource to evaluate on. Loading a treebank through another framework does not by itself turn the text into a new benchmark. Adding entity annotations, by contrast, enables evaluation of an additional task on the same material.

DaNLP offers Danish WikiANN as another source of entity-annotated text. It consists of Wikipedia material from a [cross-lingual name tagging and linking project](https://md.research.elamur.ai/free/en/papers/pan-2017-cross-lingual-name-tagging-linking/). Its provenance differs from that of DaNE, whose entities add an annotation layer to the Danish Dependency Treebank. The toolkit can expose both datasets because the loader and the provenance serve different purposes. A loader makes it possible to open the data. Provenance tells the user what kind of evidence a result on the data would represent.

#### Keep different forms of sentiment distinct

The sentiment resources also come from several sources. The collection called lcc-sentiment contains manually labeled sentences from the Leipzig Corpora Collection. DaNLP includes europarl-da-sentiment and Europarl Sentiment2 as separate resources, as well as the Twitter Sentiment corpus described in the paper. The latter corpus is the output of the project's game and trained annotation work. The fact that these resources can all be loaded through the toolkit does not make their domains or their roles in evaluation interchangeable.

The paper describes sentiment capabilities at three levels of interpretation. Polarity is the judgment that text is positive, neutral, or negative. Subjectivity detection asks whether a passage expresses an opinion or other subjective stance, as opposed to presenting its content objectively. Emotion detection assigns a finer category to the feeling expressed. The authors describe an eight-way emotion classification task. This differs from the tweet game's judgment of polarity. The fact that the project uses social media in both parts of the work does not connect the game's polarity annotations to the training of the emotion detector.

The distinction can be seen in how the outputs would be used. A count of positive, neutral, and negative posts gives one view of a discussion's tone. A subjective-or-objective judgment concerns how a post presents its content. An emotion label aims at a more specific description of affect. These outputs may be related in practice, but they answer different questions. DaNLP offers separate components because a user looking for one of these judgments needs predictions aligned with that task.

For polarity and subjectivity, the authors identify the Danish adaptation of [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/) as the starting point for the leading implementations they describe. [Fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) means taking a component that has learned general language representations and continuing training for a specific prediction task. The paper names Twitter Sentiment and Europarl Sentiment2 for training and benchmarking the leading polarity and subjectivity resources. It also names lcc-sentiment and europarl-da-sentiment as additional benchmarks for polarity. Its account does not assign each resource a detailed role in every training run.

The emotion detector also uses Danish BERT fine-tuned on social media text. The underlying training material could not be released as open data. The trained detector nonetheless appears in the paper's example of how a user can load a component and ask it for a prediction on a sentence. The Danish input in that example expresses looking forward to something. The paper uses it to demonstrate the call, without printing the output. The example shows the simplicity of that component's interface while leaving the behavior of the classifier on that sentence unevaluated.

#### Train different components with the data and framework they need

For entity recognition, the authors start from pretrained Danish BERT and fine-tune it on DaNE. They do so through Hugging Face's Transformers framework. The annotations must tell the system where entity mentions are and which classes they belong to. A prediction can fail by assigning the wrong category or by getting the extent of the mention wrong. The paper identifies the resulting BERT-based component as its leading entity recognizer and says that DaNE is also the benchmark for it. The fine-tuning procedure belongs to this individual resource. The toolkit makes the trained result available through a wrapper.

The part-of-speech tagger uses Flair. The Danish Universal Dependencies treebank serves as both the training and test source for the tagger, in the sense that the paper identifies the corpus for both roles. Grammatical annotations give the tagger target categories to learn and also provide reference categories for checking its predictions. An output from this task labels grammatical function or category at the word level. It does not carry the entity classes required for name recognition, even when both types of annotation use the same underlying text.

DaNLP makes dependency parsing available through spaCy using a component trained on the Danish Dependency Treebank. A dependency tree describes which word a given word depends on and the relation between them. The project also supplies wrapper code that derives noun-phrase chunks from predicted trees. This is a downstream use of a parsing output. The parser first proposes the grammatical structure. The chunking code uses that proposed structure to identify stretches of text. The paper describes the extraction as operating on predicted dependencies, so its input has already passed through a system that can make mistakes.

For coreference, the project uses [AllenNLP](https://md.research.elamur.ai/free/en/papers/gardner-2018-allennlp-deep-semantic-natural-language/)'s implementation of [Higher-Order Coreference Resolution with Coarse-to-Fine Inference](https://md.research.elamur.ai/free/en/papers/lee-2018-higher-order-coreference-resolution-coarse/). Coreference differs from tagging individual words or locating names. A text may use a name early on, then a description or a pronoun for the same referent. The system has to decide which mentions belong together. This requires information about the mentions and their context, and the reference annotation records the relationships against which those decisions can be judged.

The DaNLP version uses XLM-Roberta, associated with [Unsupervised Cross-lingual Representation Learning at Scale](https://md.research.elamur.ai/free/en/papers/conneau-2020-unsupervised-cross-lingual-representation-learning/), in place of static word embeddings. The authors connect this change to [BERT for Coreference Resolution](https://md.research.elamur.ai/free/en/papers/joshi-2019-bert-coreference-resolution-baselines-analysis/). A static embedding gives a word a stored numerical representation. A contextual representation can vary with how the word occurs in a passage. The paper identifies the changed representation and the implementation on which the resolver builds. It names the Danish Dependency Treebank as the benchmark. It leaves the effects of changing individual resolver components to work outside this demonstration.

#### Supply representations and lexical relations as resources of their own

Some users need a way to represent Danish text numerically before choosing a prediction task. DaNLP includes third-party static embeddings associated with the word2vec and fastText families. The paper cites work on [distributed word representations](https://md.research.elamur.ai/free/en/papers/mikolov-2013-distributed-representations-words-phrases-their/) and [embeddings with subword information](https://md.research.elamur.ai/free/en/papers/bojanowski-2017-enriching-word-vectors-subword-information/) in this connection. These resources provide reusable vectors. They do not require the user to start from a labeled entity, sentiment, or grammatical dataset simply to obtain a representation.

The toolkit also offers dynamic embeddings trained by the project with Flair, as well as embeddings derived from Danish BERT. Once the representation can depend on context, the unit being represented is effectively a word as it occurs in a piece of text, rather than only an entry in a vocabulary. This difference helps explain why the resource catalogue names the origin and kind of each representation. A lookup for a word and a computation that takes surrounding text make different information available to the component that uses them.

DaNLP brings in the Danish Similarity Dataset and WordSim-353 to support evaluation of word representations. A word similarity dataset supplies reference judgments for pairs of words. It gives a way to examine whether a representation captures some of the relationships those judgments describe. A similarity result addresses a question about the representation itself. Tagging performance or coreference performance addresses what a complete system can do with a representation on a specific task.

The toolkit also provides DanNet, a Danish lexical database. Its functions can find synonyms, words with similar meanings, and hypernyms, terms for broader categories. DanNet gives access to explicit lexical relations. Embeddings supply numerical representations from which relationships can be assessed. Offering both gives users access to different kinds of evidence about words. The paper describes them as resources available through DaNLP without evaluating all the ways in which they might be combined.

#### Collect labels through Angry Tweets

The game starts from a collection of Danish tweets. The authors obtained them using commonly used Danish hashtags, and the posts came from between January and May 2019. Participants then supplied polarity labels. Each judgment assigned a tweet to positive, neutral, or negative sentiment. This produces a reference judgment attached to a text item, the basic unit the corpus needs for training or checking a polarity classifier.

Participation was voluntary. The project publicized the game through social media, a blog post, and the Danish publication Data Tech. It used a swan, the project's logo, in the storyline. The opportunity to compete for a symbolic prize was part of the design. The authors intended these features to draw interest and encourage care during a repetitive labeling task. They also wanted participants to see the work involved in creating a resource for Danish language technology.

The game had eight rounds, each with four tweets. The paper's illustration shows a round of the annotation interface. A participant needed to read the items and choose among the polarity categories. By dividing the work into rounds, the game made progress visible and gave its checks and rewards a recurring place in the activity.

On every second page, the game included a gold-annotated tweet, meaning an item with a reference label already set. It also measured the time taken to finish each round. Failing either of these checks ended the game. The gold item tests a participant's output against a known judgment. The timing check uses the player's behavior as a signal. The paper describes these as safeguards in the design and gives no timing threshold or record of how many participants failed each kind of check.

Each round also included a sentence annotated earlier by another annotator. If the participant assigned the same label, the game awarded a point. This repeat item differs from the gold item. It measures whether two annotators arrived at the same judgment, while the gold item gives a designated reference answer. Rewarding agreement adds a visible game outcome to the repeated judgment. It also supplies paired labels for looking at how consistently people applied polarity categories.

The resulting data collection combined game annotations with work by a trained annotator. The project therefore retained a conventional source of annotation while trying crowdsourcing for much of the corpus. The paper reports the overall corpus size, the contribution of the trained annotator, the number of items with two annotations, and agreement for those paired judgments. Those quantities describe different aspects of the process. The game attracted people who finished it, the annotation effort produced a corpus, and the duplicated judgments gave the authors a way to inspect consistency on part of that corpus.

### Experiments and results

#### What the toolkit benchmarks cover

The paper is a demonstration of a collection of resources, and the benchmark evidence is organized by task. For named entity recognition, it identifies the fine-tuned Danish BERT implementation and gives DaNE as its benchmark. It also provides Danish WikiANN as a dataset, without reporting a comparison between DaNE and WikiANN results in the paper. A reader can identify the leading component the authors chose to describe and the reference data used with it. There is no numerical account of its lead over other recognizers.

For part-of-speech tagging, the authors identify the Flair implementation as their strongest integrated tagger. It was trained and tested using the Danish Universal Dependencies treebank. In parsing, they document a spaCy component trained on the Danish Dependency Treebank and code for obtaining noun-phrase chunks from its predictions. The paper reports no parsing score or separate chunking score. The treebank is the resource behind these tasks, but the article does not use a common score to compare the quality of grammatical tagging, parsing, and chunking.

The coreference comparison is similarly described through the resource choices. The authors identify the AllenNLP implementation using XLM-Roberta as their leading resolver and name the Danish Dependency Treebank as the benchmark. They describe that implementation in relation to a version that uses static embeddings. Numerical scores for the two setups, the size of a test partition, and a detailed performance breakdown are absent. The implementation is consequently documented well enough to identify its starting point and what changed, while the demonstration offers no measured difference to assign to the change.

The polarity experiments have the broadest list of named sentiment benchmarks. Twitter Sentiment and Europarl Sentiment2 appear in the account of training and benchmarking the leading polarity and subjectivity components. Lcc-sentiment and europarl-da-sentiment appear as additional polarity benchmarks. That distinction matters because there is no corresponding statement that subjectivity was tested on all the same collections. The paper identifies the emotion detector's use of social media training data and shows how to call it, but supplies no numerical emotion-detection result.

For word embeddings, the Danish Similarity Dataset and WordSim-353 provide data for evaluation. The paper does not present measured comparisons among the static, Flair, and BERT representations on those sets. Making datasets available through DaNLP and reporting a new benchmark comparison are separate contributions. The paper delivers the former and identifies where comparative information belongs in the toolkit's documentation.

When the authors identify a component as the best one included for a task, their stated basis is the metric most commonly used for that task. The paper supplies no detailed metric definitions or score table for those rankings. It also gives no common test protocol that would allow a reader to infer an overall performance ranking for the toolkit against the earlier packages. Those packages serve as context for the design. Their mention does not turn them into measured baselines.

The strongest numerical evidence in the paper is of a different kind. It concerns the amount of tweet annotation, the extent of repeated labeling, and the observed agreement. This is evidence about constructing a training and evaluation resource. Classification performance would require predictions from a classifier, corresponding reference labels, and an identified evaluation split. The paper gives the data collection statistics without turning them into a classification experiment.

#### How much annotation the game produced

The corpus contains 4921 tweets with annotations. Of these, 1266 have two annotations. The paper says most tweets were annotated through the game and reports that a trained annotator labeled 1727. Its totals concern tweets rather than individual labeling actions. A tweet with two judgments contributes one item to the corpus and also belongs to the double-annotated subset. The number credited to the trained annotator describes the work of that contributor and is not a separate corpus.

The chart compares the count of tweets covered by any annotation with the count covered by paired annotation. Both counts use the Twitter Sentiment corpus as their frame of reference. The starred total is the project's full deliverable. The shorter bar is contained within it and shows how much of that deliverable furnished two judgments per tweet.

Annotation coverage in Twitter Sentiment, measured in tweets Paired judgments cover part of the annotated corpus.

**The numbers**

| System or setting | annotated tweets |
| --- | --- |
| Coverage with two labels | 1266 |
| Coverage with annotation (this paper) | 4921 |

These counts distinguish the scale of data collection from the scale of the agreement analysis. The whole corpus measures how many tweets had been labeled. Only the paired items supply two decisions on the same tweet for direct comparison. The 65% agreement reported by the authors concerns the double-annotated subset. It is an inter-annotator agreement figure, not a proportion of tweets classified correctly by a trained component and not an estimate for a separately identified benchmark split.

Agreement records how frequently the judgments coincided in the comparison reported by the paper. Two people can agree because a category is easy to recognize, because they share an interpretation of a difficult case, or because one category is common in the items they judged. The paper does not break the result down by label. It also does not report an agreement statistic adjusted for chance. The observed figure therefore gives a direct description of consistency in the paired items, with limited evidence about how that consistency arose.

The game was completed 114 times. That count is framed as completed runs. The paper does not establish a count of distinct volunteers who finished or give the number of runs that began. The completion total therefore shows that the activity elicited finished contributions. It gives no completion rate and does not show how much work came from any participant who may have played more than once.

According to the authors, 82% of the people who finished the game also provided a contact email address to enter the prize competition. They interpret the presence of finishers who did not enter as a sign that the prize was not everybody's motivation. The observed behavior is the submission of an address after a completed game. It leaves individual motives open. A person could enjoy the game, want to help build the resource, care about the prize, or prefer to keep contact details private. The paper neither surveys motivations nor tests the same activity with and without the prize.

#### What the organizational evidence measures

The authors report conversations with around 35 companies, including startups and larger technology businesses, and with eight government agencies. These numbers describe the project's reach among potential users. The reported observations concern what those users needed and how familiar they already were with language technology. Some asked for larger collections of raw text or more labeled corpora. Others were curious about possible uses. Still others came with task-specific problems.

The collaborations with Infomedia and the Danish Broadcasting Corporation illustrate what those problems looked like. Infomedia's project concerned entity recognition in news articles, while the broadcaster's concerned mood on its social media platform. The paper presents them as ways to keep the toolkit grounded in industrial needs. It does not report a before-and-after evaluation of Infomedia's recognizer or a metric validating the broadcaster's mood monitoring. Their evidential role is to connect priorities to concrete applications.

The authors also identify feedback received through the project's repository, including bug reports, fixes, and suggestions. They describe results from contributing resources upstream. DaNE supplied the openly available entity annotation that the authors say spaCy had lacked for Danish, and the Danish Flair taggers for part-of-speech and entity recognition became directly available through Flair. These outcomes concern distribution. A user of one of those frameworks gained a path to a Danish resource without having to adopt DaNLP as the only entry point.

The quantitative evidence and the distribution outcomes answer different questions. The game figures show that labeling work took place and provide a partial check on the consistency of that work. Direct framework availability shows that Danish resources could reach users through software they already used. The paper gives no conversion from either kind of outcome into a measured improvement in downstream task accuracy or into a rate of industrial adoption.

### What the ablations show

The paper reports no formal ablation study and instead offers an account of its component choices, paired sentiment judgments, and participation in the annotation game.

#### Representations in the coreference resolver

An ablation would vary part of a system while keeping the rest of the comparison sufficiently stable to isolate the effect of the change. The closest architectural example described in DaNLP is the substitution of XLM-Roberta for static word embeddings in the coreference resolver. The authors identify the inherited implementation and the revised representation. This makes the change conceptually clear. Coreference decisions can use a representation of a word informed by its surroundings, where the static version would start from the stored representation of that word.

The authors identify the resulting implementation as their best integrated resolver and say that evaluation used the Danish Dependency Treebank. The paper does not give a pair of scores, a fixed evaluation split for the comparison, or controls for the other training decisions. A reader can trace the design choice and its relationship to earlier coreference work. The demonstration cannot establish how much of the selected system's performance comes from XLM-Roberta, or which kinds of mentions benefited from the change.

A related distinction applies to the other resource choices. Entity recognition uses Danish BERT through Transformers, while the part-of-speech tagger uses Flair. These are selections for different tasks. Several factors vary together, including the desired output and the relevant annotations. The choices do not establish that either framework would be better on the other's task. Their value in the paper is that they show how DaNLP can expose methods developed in different frameworks through the same toolkit.

#### What repeated labeling can tell us

The game includes two comparisons at the level of individual judgments. A gold-labeled item compares a player's judgment to a designated reference. A repeated item compares it to a judgment made by another annotator. The former supplies a pass-or-fail check within the game. The latter records agreement and can earn the player a point. Their different functions matter because agreement between annotators can be observed even on an item that has no independent reference answer.

The paper reports the corpus-wide total of double-annotated tweets and agreement within that subset, without giving results for the gold checks or a breakdown of how round timing affected who finished. It is therefore possible to describe the consistency measure that came from repeated annotation. It is not possible to infer separately what the known-answer checks, the time checks, or the point incentives contributed. All were part of the activity the volunteers encountered.

The trained annotator's contribution also permits a descriptive distinction between where labels came from. The paper reports that a trained annotator labeled 1727 tweets and that the game supplied the majority. It does not give separate agreement estimates for pairs of volunteers and for pairs involving the trained annotator. It also does not show that differently sourced groups of tweets were comparable in difficulty. The figures document a mixed collection process without giving a controlled estimate of relative annotation quality.

The contact-email statistic supplies a further behavioral observation. Some people who completed the game entered the prize competition, and others stopped after contributing their judgments. This shows that completion and prize entry were different behaviors. Because all eligible finishers encountered a game with the opportunity to enter, the statistic gives no estimate of how many would have participated in the same task without a prize.

#### Integration and adoption

The paper describes the movement of resources into spaCy and Flair as evidence of collaboration with existing frameworks. This is an observable change in where users could obtain Danish components. A causal analysis of the toolkit's design would ask how development or use would have proceeded under another arrangement. The authors do not provide that comparison. Bringing resources into the frameworks demonstrates an outcome of the project, while the effect of the wrapper interface itself remains unmeasured.

Across the examples, the paper is clearest about which resources were made, which underlying implementations were selected, and which activities took place. Its analyses describe selection, labeling consistency, and availability. They leave questions about the separate effects of architectural choices, quality checks, and outreach open.

### Limitations

#### Limits the authors state

The toolkit's linguistic scope is standard Danish. The authors explicitly exclude minority languages and Danish dialects from the project. A reader interested in those varieties would need evidence about their representation in data and their treatment during evaluation. The language designation used in DaNLP identifies the project's intended scope and supplies no result on those cases.

The authors also qualify the promise of a common interface. Resources can be loaded using consistent syntax, but application depends on the framework used to train the relevant component. Many components provide convenient sentence-level prediction functions. The paper recognizes that this convenience does not extend uniformly to all resource behavior. A common loader reduces the work of starting with a resource, while downstream code still has to handle differences among tasks and frameworks.

Commercial usability was an explicit goal. The authors sought resources licensed for commercial use and preferred to avoid copyleft where possible. This preference speaks to how they chose and distributed resources. It does not imply identical terms for everything reached through the toolkit. The level at which a user builds, redistributes, or combines software and data depends on the conditions of the relevant resources. The paper's contribution is to make commercial use a design criterion.

The authors give a concrete limit on data release. They could distribute the emotion detector, but they could not make its social media training data open. A user can apply the released component. A researcher who wants to inspect its training examples or reproduce that part of the work faces a different situation. The authors also describe safe data collection and sharing, particularly in relation to privacy and GDPR, as a challenge identified in community discussions. The paper places the missing emotion data alongside that broader difficulty without documenting a case-specific explanation that would identify the cause.

Finally, the authors present a more community-driven toolkit as an ambition. They report existing fixes, suggestions, and exchanges with third-party frameworks, and they describe network meetings linking companies and university researchers. These are signs of participation as the project stood at the time of the paper. The longer-term transfer of responsibility to a broader contributor community is a goal the authors set, with no longitudinal evidence in this demonstration.

#### Limits visible in the evaluation

The toolkit's strongest implementations are identified task by task, but the paper lacks the numerical benchmarks needed to verify the size of any lead. It does not provide a score table, detailed train and test partitions, or comparable measurements for the earlier toolkits it names. A reader can learn which resource the authors selected for a task and which corpus they used to benchmark it. Establishing performance against a competing implementation would require task-specific results on the same data and under a comparable evaluation protocol.

Part of this limitation follows from the paper's purpose. A demonstration can show that a component is available, describe its provenance, and illustrate a normal call without undertaking a new evaluation of every supported analysis. The consequence is that availability and accuracy need to be interpreted separately. For instance, access to a dependency parser and a chunking wrapper establishes that the toolkit supports both operations. It leaves the accuracy of the combined output open. A parser error can carry through to the chunking step, and the paper supplies no measure of the extent of that effect.

The sentiment datasets illustrate another unanswered evaluation question. The toolkit supplies text from different sources, and the paper names additional benchmarks for polarity. Their availability could support a study of transfer among domains. The paper does not report how the same trained component performed separately across those sources or which training and test combinations yielded any particular result. Listing both Twitter and parliamentary data identifies the range of resources available, without measuring the cost of moving from one type of text to another.

Similarly, several tasks share material from the Danish Dependency Treebank. Its grammatical, entity, and coreference annotations make that text useful in multiple ways. Strong results across several annotation layers on related material, if reported, would still leave a question about performance on different kinds of Danish text. The paper does not supply such a cross-domain comparison. Its mentions of news and social media establish what partners wanted to work on, not how representative the treebank is for either use.

#### Limits of the crowdsourcing evidence

The tweet collection was drawn through commonly used Danish hashtags within the January to May 2019 period. This specifies a source and a time window. It does not establish that the resulting corpus represents all Danish posts, all varieties of standard Danish, or Danish sentiment beyond Twitter. Posts reachable by the chosen hashtags could differ in subject, language, and tone from those outside the selection. The paper gives no comparison to an independently drawn sample from which to assess those differences.

The reported 65% agreement is confined to the 1266 tweets with paired labels. The paper gives no label distribution for the paired subset, no agreement by category, and no account of whether the items that received two judgments resembled the rest of the corpus. Those details would help distinguish disagreements among categories from effects of how often particular categories occurred. The figure gives a clear summary of agreement where duplicate labels exist, with uncertainty about its applicability to the rest of the corpus.

The paper also does not give a detailed account of how conflicting judgments became final dataset labels. Independent annotation can expose disagreement, and a later adjudication process can decide which label to retain or how to represent ambiguity. These are different operations. The paper reports the paired annotation result and describes how the game rewarded a match. It leaves the handling of every unmatched pair unspecified. This matters if the corpus is used as a benchmark in which a classifier's prediction is judged against a single expected label.

The game design uses both selection and incentives. Checks can end a session and agreement can earn points. The paper gives no record of attempted runs, failures by check type, or completion patterns among different kinds of participant. One cannot determine how the safeguards affected the pool of people whose judgments entered the corpus. A measure of completion once the game had been started would require a denominator that the 114 completed runs alone cannot supply.

Motivation is also open to several interpretations. The 82% who submitted contact details are people who finished the game and elected to enter a prize competition. The statistic measures that choice directly. It gives little evidence about the motives of people who never started, began and stopped, or contributed without wanting to share an email address. The authors' interpretation that some volunteers did not depend on the prize is plausible. The design supplies no experimental comparison for estimating the prize's effect on turnout or annotation quality.

The trained annotator's contribution supplies many of the labels, but it does not establish a benchmark for labeling cost or reliability. The paper lacks time and cost comparisons between the trained and game procedures. It also lacks a matched comparison of their agreement on the same items. The result demonstrates the feasibility of collecting a substantial corpus through a mixture of approaches. How cheaply, quickly, or reliably gaming would replace a conventional procedure remains unanswered.

#### Limits of the industrial evidence

The industry conversations capture differing kinds of demand and help explain why the project prioritized entities and sentiment. The paper does not describe the organizations as a representative sample of Danish companies or public agencies. The findings are most securely read as an account of needs expressed by organizations the project reached. Their requests provide reasons for the toolkit's priorities without establishing a ranking of needs across the economy.

The two collaborations give concrete settings where the tasks made sense. Neither collaboration comes with measured business outcomes, such as the quality of a changed news recognizer or how accurately the broadcaster could infer the mood of a discussion. Direct availability in spaCy and Flair is a more specific outcome, because the paper identifies particular resources and the frameworks that received them. That evidence supports wider distribution. Adoption rates, sustained use, and effects on the organizations that adopted the tools would require further observations.

### What came after

#### From access to shared evaluation

[ScandEval](https://md.research.elamur.ai/free/en/papers/nielsen-2023-scandeval-benchmark-scandinavian-natural-language/) (2023) cites DaNLP and presents a benchmark for Scandinavian natural language processing. The relationship is clearest in the different jobs named in the works. DaNLP organizes access to Danish components and datasets and points users to task benchmarks. ScandEval makes benchmarking itself the subject of the work and sets its scope across Scandinavian language processing. Taken together, the titles and citation show an adjacent concern moving to the foreground. Once resources can be located and run, comparison requires defining what is tested and how the results are judged. The citation alone leaves open which DaNLP data or implementations ScandEval used.

This distinction is important for interpreting DaNLP's contribution over time. A toolkit can help users obtain the inputs to a comparison, including an annotated corpus or a trained component. A benchmark can provide a shared structure for assessments. The DaNLP paper ties several leading implementations to named corpora, but it does not publish the comprehensive numerical comparison that the word *benchmark* might suggest in a later title. ScandEval's cited relationship locates DaNLP in that wider evaluation setting without documenting a specific technical dependency.

#### Danish cultural evaluation

[DaKultur](https://md.research.elamur.ai/free/en/papers/eberstein-2025-dakultur-evaluating-cultural-awareness-language/) (2025) cites DaNLP in work on evaluating cultural awareness for Danish with native speakers. The move to cultural awareness changes the property under evaluation. DaNLP's annotation game asks a person to assign polarity to a tweet. DaKultur's stated topic is awareness of Danish culture, and its title identifies native speakers as part of the evaluation. Both give human judgments a place in work on Danish, with different targets for those judgments. The cited relationship does not establish that DaKultur reused the game, its annotation categories, or the Twitter Sentiment corpus.

[SDUs DAISY](https://md.research.elamur.ai/free/en/papers/nielsen-2026-sdus-daisy-benchmark-danish-culture/) (2026) also cites DaNLP and presents a benchmark centered on Danish culture. Here the relationship is again at the level of the problem the work takes up. DaNLP makes practical Danish linguistic resources easier to obtain, from grammatical annotations to sentiment judgments and lexical relations. A benchmark framed around Danish culture asks a different kind of evaluation question. Its connection to DaNLP is documented by the citation. Its use of any particular toolkit resource, if any, is unspecified.

The later works give different scales to the evaluation problem. ScandEval frames it regionally, across Scandinavian language processing. DaKultur and SDUs DAISY focus on what it means to evaluate cultural competence in a specifically Danish setting. DaNLP's documented contribution remains the earlier work of assembling access, adding task resources, and showing how some of those resources could be collected and distributed. The later citations place that contribution in a continuing discussion of how to define and measure what systems can do with Danish.

## Cite

Cite as Amalie Brogaard Pauli, Maria Barrett, Ophélie Lacroix and Rasmus Hvingelby. 2021. DaNLP: An open-source toolkit for Danish Natural Language Processing. Proceedings of the 23rd Nordic Conference on Computational Linguistics (NoDaLiDa).

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

```bibtex
@inproceedings{pauli2021danlp,
  title = {{DaNLP: An open-source toolkit for Danish Natural Language Processing}},
  author = {Amalie Brogaard Pauli, Maria Barrett, Ophélie Lacroix and Rasmus Hvingelby},
  booktitle = {Proceedings of the 23rd Nordic Conference on Computational Linguistics (NoDaLiDa)},
  year = {2021},
  url = {https://aclanthology.org/2021.nodalida-main.53/}
}
```

> 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)
