NLP resources for Norwegian
An important priority for LTG in recent years has been to create NLP resources for the Norwegian language, both in terms of modeling and datasets. This page provides an overview of our existing and ongoing projects to support Norwegian NLP.
Language models and embeddings
Through the ongoing NorLM initiative, LTG has provided several large-scale language models for Norwegian, including models based on the ELMo and BERT architectures. Furthermore, the NLPL vector repository contains more than 70 pre-trained word embedding models for Norwegian, in addition to models for several other languages.
Pre-processing and parsing
The Norwegian Dependency Treebank (NDT) contains annotations of lemmas, part-og-speech, dependency relations, morphological features, and more. The treebanks comprises both Nynorsk and Bokmål, and there is also a version adapted to the format of Universal Dependencies. NDT can be used to train and evaluate models for text pre-processing of Norwegian, and pre-trained models are provided in tools like Stanza, UDPipe, and spaCY.
Named Entity Recognition
The SANT project has created several resources for Sentiment Analysis for Norwegian. The starting point is the Norwegian Review Corpus (NoReC) – a multi-domain corpus of professional reviews, including a rating on a scale of 1–6 which can be used for modeling document-level polarity. A subset of NoReC has been further annotated for fine-grained or structural sentiment analysis in NoReCfine. This has also been aggregated to the sentence-level in NoReCsentence. There is also an automatically created sentiment lexicon available; NorSentLex.
- Negation: The NoReCneg dataset adds annotations of negation cues and their scopes to the texts in NoReCfine.
- Gender analysis: For the subset of book reviews in NoReC, the datset NoReCgender annotates the genders of both critics and book authors.
- Co-reference: the ongoing NARC project – a collaboration between LTG, the National Library and the Text Laboratory – the text of NDT are annotated for anaphora and co-reference.
- Semantic change: The NorDiaChange dataset contains manual annotatation of diachronic semantic change for set of Norwegian words across different time periods.
- Dialect modeling: NorDial is a preliminary corpus for Norwegian dialect classification, annotating a set of tweets as Bokmål, Nynorsk, Dialectal, or Mixed.
- Parliamentary speeches: The Talk-of-Norway (ToN) corpus comprises parliamentary speeches from 1998–2016, with a rich set of metadata, including party affiliations and gender.
- Synonyms: The Norwegian Synonymy Test Set was created by extracting words and synonyms from the digital version of Kunnskapsforlaget's Norske synonymer blåordbok, and can be used for evaluating synonym detection.
- Analogies: The Norwegian Analogy Test Set was created by semi-automatically translating and adapting the existing Google analogies test set from English to Norwegian, defined for evaluating analogical reasoning.