Downloads · 30 days
0
NKCZ/Old-Icelandic-POS-Lemmatizer-spaCy-UD
Old-Icelandic-POS-Lemmatizer-spaCy-UD is a machine learning model from NKCZ. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains a <a href="https://spacy.io/"spaCy</a (v3.8.11) model for Part-of-Speech tagging and lemmatization of (normalised) Old Icelandic texts.
Downloads · 30 days
0
Access
Public
Updated Sep 25, 2026
Repo size
40.8 MB
Likes
0
Public
Click a slice to open those files.
Other36.7 MB · 88%
From the Hugging Face model README
This repository contains a <a href="https://spacy.io/">spaCy</a> (v3.8.11) model for Part-of-Speech tagging and lemmatization of (normalised) Old Icelandic texts.
Try it out in <a href="https://colab.research.google.com/drive/1V4rqPT1cgULNILu857MCSsrduo_o6eTq?usp=sharing">Google Collab</a>!
The model was trained on all the available MENOTA texts by Andrea de Leeuw van Weenen (AM 132 fol., AM 519 a 4to., and AM 677 4to). This is around 75% of all the currently available MENOTA texts, which are normalised, lemmatized, and (at least partially) POS-tagged.
<a href="https://www.menota.org/HB3_ch11.xml">Menota POS-tags</a> were mapped to <a href="https://universaldependencies.org/u/pos/">Universal Dependencies Universal part-of-speech tags</a> (UPOS), listed here according to their frequency in the training data:
| MENOTA Tag | UD Tag | Notes |
|---|---|---|
| xVB | VERB | |
| xNC | NOUN | |
| xCU | CCONJ | Can be either CCONJ or SCONJ! |
| xAV | ADV | |
| xAP | ADP | |
| xPE | PRON | |
| xDD | DET | |
| xNP | PROPN | |
| xAJ | ADJ | |
| xRP | PART | |
| xDP | DET | |
| xVP | PART | |
| xCC | CCONJ | |
| xPI | PRON | |
| xIM | PART | |
| xNA | NUM | |
| xCS | SCONJ | |
| xPQ | PRON | |
| xNO | NUM | |
| xUA | — | Rarely used |
| xIT | INTJ | |
| xPA | — | Occurs < 30 times |
| xEX | — | Occurs once |
Notes:
<b>xCU</b> is defined in MENOTA guidelines as "used if the encoder (in rather unusual cases) cannot decide whether a word is a conjunction or a subjunction" (Ch. 11, 11.5.11). It can be mapped either to CCONJ or SCONJ in UDP. For this model, it is mapped to CCONJ, but users should be aware of this ambiguity when using the model.
Model currently under evaluation for out-of-domain performance.
I could not run the model in Windows, only in Linux environments. I have not tested it on MacOS.
WIP:
OICE-LePOS-spaCy-UDCorpus size: 397668 word tokens across 27067 text chunks of differing lengths.
Training-validation-test split: 80-10-10.
Sources: <a href="https://clarino.uib.no/menota/catalogue/menota">AM 132 fol., AM 519 a 4to, and AM 677 4to</a>, edited and annotated by Andrea de Leeuw van Weenen.
See training notebook for details.
| Category | Accuracy (spaCy) | Macro F1-Score (sklearn) |
|---|---|---|
| POS | 0.96 | 0.87 |
| Lemma | 0.93 | 0.58 |
See evaluation notebook for a more detailed breakdown of performance.
A more detailed evaluation performance and comparison with other models is currently underway.
TODO
Try it out in <a href="https://colab.research.google.com/drive/1V4rqPT1cgULNILu857MCSsrduo_o6eTq?usp=sharing">Google Collab</a>!
See usage notebook for examples (you will likely have to change the path to the model).