Kurz gefasst
Glossator ist eine Sprachpipeline für das Niederländische in Rust, im Stil von spaCy. Für jedes Wort liefert sie das Lemma, die Wortart, die morphologischen Merkmale und die Dependenzrelation, und sie markiert die Namen von Personen, Organisationen und Orten. Auf UD Dutch Alpino beträgt ihre Genauigkeit beim Parsen (LAS) 89.68, gegenüber 82.55 für das mittlere Niederländisch-Modell von spaCy und 90.67 für Stanza. Auf einem CPU-Thread analysiert sie 774 Sätze pro Sekunde.
Glossator ist eine Sprachpipeline für das Niederländische in Rust. Sie läuft auf der CPU und braucht weder Python noch eine GPU. Die Release Note vergleicht sie mit spaCy und Stanza auf öffentlichen niederländischen Testsets: Genauigkeit auf UD Dutch Alpino und UD Dutch LassySmall, Namen auf CoNLL-2002 Dutch und Geschwindigkeit auf einem CPU-Thread.
Was die Zahlen nicht zeigen
- Glossator funktioniert nur für das Niederländische, und ein Satz mit mehr als 150 Tokens wird in Stücken analysiert.
- Namen sind die schwache Spalte. Auf CoNLL-2002 Dutch beträgt der Gesamt-F1 70.9, gegenüber 90.3 für Stanza, dessen Namensmodell auf dem Trainingsteil dieses Korpus trainiert wurde.
- Die Geschwindigkeitswerte gelten für eine Maschine und einen CPU-Thread. Der Wert für Glossator ist die Zeit des gesamten Prozesses für die Datei, einschließlich Lesen und Schreiben.
- Jedes System erhielt die Gold-Tokens der Testdateien, die Werte sagen also nichts über die Tokenisierung.
Volltext des Release
Der Text ist auf Englisch.
Inhalt
Abstract
Glossator is a Dutch language pipeline in Rust, in the style of spaCy. For every word it gives the lemma, the part of speech, the morphological features and the dependency relation, and it marks the names of persons, organisations and places. One model of about 90 MB with 22.6 million parameters does this on the CPU through ONNX Runtime. On the UD Dutch Alpino test set its parse accuracy (LAS) is 89.68, against 82.55 for spaCy's medium Dutch model and 90.67 for Stanza. On one CPU thread it analyses 774 sentences per second, against 414 for spaCy in batch mode and 11.7 for Stanza in batch mode.
What Glossator does
Glossator takes Dutch text, splits it into sentences and tokens, and runs one model that gives each token its lemma, its Universal Dependencies part of speech, its morphological features, its head and its dependency relation. The same model marks names as PER, ORG or LOC, and as ANON where a placeholder stands for an anonymised name. The output is CoNLL-U or JSON with Universal Dependencies labels. The program is one Rust library and one command line tool, and it runs without Python and without a GPU.
For the sentence "Jan Peeters woont sinds 2019 in Gent." the command line tool writes eight lines, one for each token. The ten standard CoNLL-U columns are separated by tabs and shown here aligned. The columns for the language-specific tag and for enhanced dependencies are empty, and the name stands in the last column.
1 Jan Jan PROPN _ _ 3 nsubj _ NER=B-PER
2 Peeters Peeters PROPN _ _ 1 flat _ NER=I-PER
3 woont wonen VERB _ Mood=Ind|Number=Sing|Tense=Pres|VerbForm=Fin 0 root _ _
4 sinds sinds ADP _ _ 5 case _ _
5 2019 2019 NUM _ _ 3 obl _ _
6 in in ADP _ _ 7 case _ _
7 Gent Gent PROPN _ Gender=Neut|Number=Sing 3 obl _ SpaceAfter=No|NER=B-LOC
8 . . PUNCT _ _ 3 punct _ _
How the model is built
Glossator is an encoder. It reads the sentence once and produces one vector per word, and five small classifiers read those vectors. It has no decoder and generates no text.
Das Modell liest jedes Wort in drei Formen (das Wort selbst, Wortstücke und die Schreibweise), fügt sie zusammen und leitet sie durch eine Faltung, ein bidirektionales LSTM und einen Transformer. Auf dem Ergebnis sitzen fünf Ausgaben: Wortart, Morphologie, Lemma, Namen und der Dependenzparse.
Each word enters the model in three forms. The first is the word itself, looked up in a table of 221,745 lower-cased words. The second is its pieces: the three- to five-letter pieces of the word, hashed into a second table. The third is its spelling: the first and last eight letters, read by a small convolution. The second and the third let the model handle a word that is not in the table.
The three are joined and passed through two convolution layers that look at neighbouring words, one bidirectional LSTM layer that reads the sentence in both directions, and two transformer layers with four attention heads that relate every word to every other word.
Five outputs sit on top: the part of speech (17 tags), the morphological features (136 sets), the lemma (one of 3,916 rewrite rules that turn a word form into its dictionary form), the names, and the dependency parse, where a biaffine scorer picks a head for every word and one of 42 relations. After the network, plain rules make the parse a tree with one root and choose a consistent sequence of name labels.
The model has 22.6 million parameters. The two tables hold 18.4 million of them, and the network itself has 4.2 million.
How it was measured
Every system received the gold tokens of the test files, so tokenisation does not enter the scores. Part of speech, features, lemma and dependencies are scored with the official CoNLL 2018 scorer on two test sets: UD Dutch Alpino, with 587 sentences after removing sentences that also occur in other corpora, and UD Dutch LassySmall, with 1654 sentences after the same step. Names are scored on CoNLL-2002 Dutch ned.testb, with 5195 sentences, as the F1 of exact spans. Gold MISC spans are not a Glossator label and count as no name.
Speed is measured on the UD Dutch Alpino test file, with 596 sentences and 11046 words, on one CPU thread. Model loading and a warm-up of 20 sentences are left out, and the figure is the median of three passes. The Glossator figure is the wall time of the process on the file, minus its start-up time, so it includes reading the file and writing CoNLL-U.
The systems are Glossator, spaCy 3.8.18 with nl_core_news_md 3.8.0, and Stanza 1.15.1 with its default Dutch package. The machine has an AMD Ryzen 9 9950X3D. The run was made on 29 November 2026. The harness, the list of left-out sentences and the commands to repeat every row are in the bench folder of the code repository.
Results
Table 1. Accuracy on UD Dutch Alpino test (587 sentences).
Auf UD Dutch Alpino erreicht Glossator eine Genauigkeit beim Parsen (LAS) von 89.68, gegenüber 82.55 für spaCy und 90.67 für Stanza. Die Genauigkeit bei den Wortarten (UPOS) beträgt 96.74, gegenüber 95.29 und 97.12. Stanza liegt in jeder Spalte vor Glossator.
GlossatorspaCy und Stanza
Zahlen anzeigen
| System | UPOS | UFeats | Lemma | UAS | LAS |
|---|---|---|---|---|---|
| Glossator | 96.74 | 96.69 | 94.97 | 92.45 | 89.68 |
| spaCy nl_core_news_md | 95.29 | 75.12 | 91.09 | 86.93 | 82.55 |
| Stanza, default package | 97.12 | 97.25 | 96.28 | 92.94 | 90.67 |
Table 2. Accuracy on UD Dutch LassySmall test (1654 sentences).
Auf UD Dutch LassySmall erreicht Glossator ein LAS von 88.65, gegenüber 82.33 für spaCy und 90.63 für Stanza. Die UPOS-Genauigkeit beträgt 97.21, gegenüber 95.25 und 97.29.
GlossatorspaCy und Stanza
Zahlen anzeigen
| System | UPOS | UFeats | Lemma | UAS | LAS |
|---|---|---|---|---|---|
| Glossator | 97.21 | 96.00 | 95.16 | 91.94 | 88.65 |
| spaCy nl_core_news_md | 95.25 | 75.58 | 91.23 | 87.06 | 82.33 |
| Stanza, default package | 97.29 | 97.47 | 96.36 | 92.97 | 90.63 |
Table 3. Names on CoNLL-2002 Dutch ned.testb (5195 sentences), F1 with gold MISC counted as no name.
Auf CoNLL-2002 Dutch beträgt der Gesamt-F1 für Namen 70.9 für Glossator, 67.1 für spaCy und 90.3 für Stanza. spaCy liegt bei Orten (LOC) vor Glossator, 71.5 gegenüber 65.9.
GlossatorspaCy und Stanza
Zahlen anzeigen
| System | PER | ORG | LOC | Overall |
|---|---|---|---|---|
| Glossator | 85.1 | 59.7 | 65.9 | 70.9 |
| spaCy nl_core_news_md | 76.2 | 50.7 | 71.5 | 67.1 |
| Stanza, default package | 93.3 | 84.4 | 92.7 | 90.3 |
Table 4. Speed on the UD Dutch Alpino test file, one CPU thread.
Auf einem CPU-Thread analysiert Glossator 774.1 Sätze pro Sekunde. spaCy analysiert 247.8 Satz für Satz und 414.0 in Batches; Stanza analysiert 7.9 und 11.7.
GlossatorspaCy und Stanza
Zahlen anzeigen
| System | Mode | Sentences per second | Words per second |
|---|---|---|---|
| Glossator | Whole file | 774.1 | 14346 |
| spaCy nl_core_news_md | Single | 247.8 | 4593 |
| spaCy nl_core_news_md | Batch | 414.0 | 7672 |
| Stanza, default package | Single | 7.9 | 147 |
| Stanza, default package | Batch | 11.7 | 217 |
Reading the results
Stanza is ahead of Glossator on every accuracy figure in Tables 1 and 2. On the parse the gap is about 1 point on UD Dutch Alpino (89.68 against 90.67) and about 2 points on UD Dutch LassySmall (88.65 against 90.63). On names Stanza is far ahead, with an overall F1 of 90.3 against 70.9 for Glossator. Stanza's name model was trained on the training part of that corpus, so the comparison on names favours it.
Glossator is ahead of spaCy's medium Dutch model on every column of Tables 1 and 2. The largest difference is in the morphological features, 96.69 against 75.12 on UD Dutch Alpino. On names Glossator is ahead overall (70.9 against 67.1), for persons (85.1 against 76.2) and for organisations (59.7 against 50.7), and behind for places (65.9 against 71.5).
On one CPU thread Glossator is the fastest of the three. It analyses 774.1 sentences per second, against 414.0 for spaCy in batch mode, 247.8 for spaCy one sentence at a time, and 11.7 and 7.9 for Stanza in the same two modes.
Limits
Glossator works for Dutch only. A sentence longer than 150 tokens is analysed in pieces. Names are the weak column, as Table 3 shows. The speed figures are for one machine and one CPU thread, and the scores say nothing about tokenisation, because every system received the gold tokens. The model was trained on a mix of public and licensed Dutch text. The training data and the training code are not published.
Availability and licence
The code is at github.com/lexbound/glossator-nl under the PolyForm Noncommercial License 1.0.0. The model is at huggingface.co/lexbound/glossator-nl under CC BY-NC 4.0 and is free for noncommercial use after the terms there are accepted. For use in a product or a service, a commercial licence is available from Lexbound: hello@lexbound.ai.
Dieses Release zitieren
Lexbound (2026). Glossator: a Dutch language pipeline in Rust. Software-Release, 29. November 2026. https://doi.org/10.5281/zenodo.24663187 https://lexbound.ai/en/lab/research/glossator-dutch-nlp-in-rust
BibTeX
@misc{lexbound2026glossator,
author = {{Lexbound}},
title = {Glossator: a Dutch language pipeline in {Rust}},
year = {2026},
month = nov,
note = {Software release},
doi = {10.5281/zenodo.24663187},
url = {https://lexbound.ai/en/lab/research/glossator-dutch-nlp-in-rust}
}