arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.05295cs.CLcs.LG
收藏

DaCy:丹麦语NLP的统一框架

DaCy: A Unified Framework for Danish NLP

Interacting Minds Centre(互动心智中心);Center for Humanities Computing Aarhus(奥胡斯人文计算中心);Aarhus University(奥胡斯大学);Department of Clinical Medicine(临床医学系)

Kenneth Enevoldsen, Lasse Hansen, Kristoffer Nielbo

摘要:

近年来,丹麦自然语言处理(NLP)通过增加多个新的数据集和模型获得了相当大的改进。然而,目前还没有一个连贯的框架来适用丹麦语的最新模式。我们提出DaCy:一个建立在SpaCy上的丹麦NLP统一框架。DaCy使用高效的多任务模型,在命名实体识别、词性标注和依存句法分析方面获得了最先进的性能。DaCy包含用于轻松集成现有模型的工具,例如极性,情感或主观性检测。此外,我们通过增加DaNE的测试集,对丹麦NLP管道的偏差和鲁棒性进行了一系列测试。DaCy large比较有利,并且对长输入长度和拼写变化和错误特别鲁棒。除DaCy大型模型外,所有模型均显示出与种族相关的显著偏倚,而只有Polyglot显示出显著的性别偏倚。我们认为,对于具有有限基准集的语言,数据增强对于获得更现实和细粒度的性能估计特别有用。我们提供了一系列增强器,作为对中低资源语言的语言模型进行更彻底评估的第一步,并鼓励进一步开发。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑