Software release

Glossator: a Dutch language pipeline in Rust

Lexbound · 29 November 2026

In short

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. On UD Dutch Alpino 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.

Glossator is a Dutch language pipeline in Rust. It runs on the CPU and needs neither Python nor a GPU. The release note compares it with spaCy and Stanza on public Dutch test sets: accuracy on UD Dutch Alpino and UD Dutch LassySmall, names on CoNLL-2002 Dutch, and speed on one CPU thread.

What the figures do not show

  • Glossator works for Dutch only, and a sentence longer than 150 tokens is analysed in pieces.
  • Names are the weak column. On CoNLL-2002 Dutch the overall F1 is 70.9, against 90.3 for Stanza, whose name model was trained on the training part of that corpus.
  • The speed figures are for one machine and one CPU thread. The Glossator figure is the time of the whole process on the file, including reading and writing.
  • Every system received the gold tokens of the test files, so the scores say nothing about tokenisation.

Full text of the release note

Contents

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.

The model reads each word in three forms (the word itself, pieces of the word and its spelling), joins them, and passes them through a convolution, a bidirectional LSTM and a transformer. Five outputs sit on the result: part of speech, morphology, lemma, names and the dependency parse.

What the model sees of each wordThe word itselftable of 221,745 words64 numbersPieces of the wordhashed 3 to 5 letter pieces64 numbersIts spellingfirst and last 8 letterssmall convolution, 48 numbersOne encoder for the whole sentenceJoin176 in192 outConvolution2 layerswidth 192over neighboursBiLSTM1 layer192 each wayTransformer2 layerswidth 2564 headsFive outputsPart of speech17 tagsMorphology136 feature setsLemma3,916 rewrite rulesNamesPER, ORG, LOC, ANONDependency parsea head and one of42 relationsWhat the model sees of each wordThe word itselftable of 221,745 words64 numbersPieces of the wordhashed 3 to 5 letter pieces64 numbersIts spellingfirst and last 8 letterssmall convolution, 48 numbersOne encoder for the whole sentenceJoin176 in192 outConvolution2 layerswidth 192over neighboursBiLSTM1 layer192 each wayTransformer2 layerswidth 2564 headsFive outputsPart of speech17 tagsMorphology136 feature setsLemma3,916 rewrite rulesNamesPER, ORG, LOC, ANONDependency parsea head and one of 42 relations
22.6 million parameters: 18.4 million in the word and word-piece tables, 4.2 million in the network.

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).

Figure 1. Accuracy on UD Dutch Alpino test, by system

On UD Dutch Alpino, Glossator reaches a parse accuracy (LAS) of 89.68, against 82.55 for spaCy and 90.67 for Stanza. Its part-of-speech accuracy (UPOS) is 96.74, against 95.29 and 97.12. Stanza is ahead of Glossator in every column.

GlossatorspaCy and Stanza

Glossator96.7496.6994.9792.4589.68
spaCy nl_core_news_md95.2975.1291.0986.9382.55
Stanza, default package97.1297.2596.2892.9490.67
Show the numbers
SystemUPOSUFeatsLemmaUASLAS
Glossator96.7496.6994.9792.4589.68
spaCy nl_core_news_md95.2975.1291.0986.9382.55
Stanza, default package97.1297.2596.2892.9490.67

Table 2. Accuracy on UD Dutch LassySmall test (1654 sentences).

Figure 2. Accuracy on UD Dutch LassySmall test, by system

On UD Dutch LassySmall, Glossator reaches a LAS of 88.65, against 82.33 for spaCy and 90.63 for Stanza. Its UPOS accuracy is 97.21, against 95.25 and 97.29.

GlossatorspaCy and Stanza

Glossator97.2196.0095.1691.9488.65
spaCy nl_core_news_md95.2575.5891.2387.0682.33
Stanza, default package97.2997.4796.3692.9790.63
Show the numbers
SystemUPOSUFeatsLemmaUASLAS
Glossator97.2196.0095.1691.9488.65
spaCy nl_core_news_md95.2575.5891.2387.0682.33
Stanza, default package97.2997.4796.3692.9790.63

Table 3. Names on CoNLL-2002 Dutch ned.testb (5195 sentences), F1 with gold MISC counted as no name.

Figure 3. Name recognition on CoNLL-2002 Dutch, F1 by type of name

On CoNLL-2002 Dutch, the overall F1 for names is 70.9 for Glossator, 67.1 for spaCy and 90.3 for Stanza. spaCy is ahead of Glossator for places (LOC), 71.5 against 65.9.

GlossatorspaCy and Stanza

Glossator85.159.765.970.9
spaCy nl_core_news_md76.250.771.567.1
Stanza, default package93.384.492.790.3
Show the numbers
SystemPERORGLOCOverall
Glossator85.159.765.970.9
spaCy nl_core_news_md76.250.771.567.1
Stanza, default package93.384.492.790.3

Table 4. Speed on the UD Dutch Alpino test file, one CPU thread.

Figure 4. Sentences per second on one CPU thread, by system and mode

On one CPU thread Glossator analyses 774.1 sentences per second. spaCy analyses 247.8 one sentence at a time and 414.0 in batches; Stanza analyses 7.9 and 11.7.

GlossatorspaCy and Stanza

GlossatorWhole file774.1
spaCy nl_core_news_mdSingle247.8
spaCy nl_core_news_mdBatch414.0
Stanza, default packageSingle7.9
Stanza, default packageBatch11.7
Show the numbers
SystemModeSentences per secondWords per second
GlossatorWhole file774.114346
spaCy nl_core_news_mdSingle247.84593
spaCy nl_core_news_mdBatch414.07672
Stanza, default packageSingle7.9147
Stanza, default packageBatch11.7217

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.

Cite this release

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}
}

Belgium’s premier legal research tool.Every source searched. The decisive ones used.