HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

DaCy: A Unified Framework for Danish NLP

Kenneth Enevoldsen Lasse Hansen Kristoffer Nielbo

DaCy: A Unified Framework for Danish NLP

Abstract

Danish natural language processing (NLP) has in recent years obtained considerable improvements with the addition of multiple new datasets and models. However, at present, there is no coherent framework for applying state-of-the-art models for Danish. We present DaCy: a unified framework for Danish NLP built on SpaCy. DaCy uses efficient multitask models which obtain state-of-the-art performance on named entity recognition, part-of-speech tagging, and dependency parsing. DaCy contains tools for easy integration of existing models such as for polarity, emotion, or subjectivity detection. In addition, we conduct a series of tests for biases and robustness of Danish NLP pipelines through augmentation of the test set of DaNE. DaCy large compares favorably and is especially robust to long input lengths and spelling variations and errors. All models except DaCy large display significant biases related to ethnicity while only Polyglot shows a significant gender bias. We argue that for languages with limited benchmark sets, data augmentation can be particularly useful for obtaining more realistic and fine-grained performance estimates. We provide a series of augmenters as a first step towards a more thorough evaluation of language models for low and medium resource languages and encourage further development.

Benchmarks

BenchmarkMethodologyMetrics
dependency-parsing-on-daneda_dacy_large_tft
LAS: 88.44
UAS: 90.85
named-entity-recognition-on-daneDaCy-large
Micro-average F1: 84.39
part-of-speech-tagging-on-daneda_dacy_large_tft-0.0.0
Accuracy (%): 98.37

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
DaCy: A Unified Framework for Danish NLP | Papers | HyperAI