Get access to Glossator-nl

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Glossator-nl is the model of Glossator, a Dutch language pipeline in Rust that gives lemmas, parts of speech, morphological features, dependency relations and names. Access is free for noncommercial use: fill in the form, accept the terms and the files open at once. For use in a product or a service, write to hello@lexbound.ai for a commercial licence.

Log in or Sign Up to review the conditions and access this model content.

Glossator, a Dutch language pipeline in Rust. The picture shows the dependency arcs it finds in the sentence 'De rechtbank heeft de vordering afgewezen'.

Glossator-nl: Dutch NLP in Rust for lemmas, part of speech, dependency parsing and named entities

Glossator-nl is a Dutch language model that gives, for every word, the lemma, the part of speech, the morphological features and the dependency relation, and marks names of persons, organisations and places. It writes CoNLL-U or JSON, reaches 89.7 labelled attachment score (LAS) for the parse and 96.7 for part of speech on UD Dutch Alpino, and analyses 774 sentences per second on one CPU thread. Version 0.1.0, 29 November 2026, made by Lexbound.

89.7
parse accuracy (LAS)
96.7
part of speech
774
sentences per second, one CPU thread
90 MB
runs on the CPU, no GPU

Glossator is free for research, teaching and other noncommercial use. For use in a product or a service, a commercial licence is available from Lexbound: hello@lexbound.ai. To download the files, accept the terms with the button at the top of the page; access opens at once.

Language Dutch (Nederlands)
Tasks Tokenization, sentence splitting, lemmatization, part-of-speech tagging, morphological analysis, dependency parsing, named entity recognition
Labels Universal Dependencies: UPOS tags, UD features, UD relations; names as PER, ORG, LOC, ANON
Output CoNLL-U or JSON
Runs on CPU, through ONNX Runtime; called from Rust or from the command line
Size 22.6 million parameters, about 90 MB
Code https://github.com/lexbound/glossator-nl
DOI 10.5281/zenodo.24663187
Release note https://lexbound.ai/en/lab/research/glossator-dutch-nlp-in-rust
Made by Lexbound
Version 0.1.0, 29 November 2026

How do I use it?

Accept the terms on this page, download this folder, build the Glossator tool and point it at the folder:

git clone https://github.com/lexbound/glossator-nl && cd glossator-nl && cargo build --release
echo "Jan Peeters woont sinds 2019 in Gent." | target/release/glossator --model-dir /path/to/this/folder

The output is CoNLL-U, one line per word, with the names 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	_	_

From Rust:

use glossator::Glossator;

let pipeline = Glossator::load("/path/to/this/folder")?;
let doc = pipeline.analyse("De rechtbank heeft de vordering afgewezen.")?;
for token in &doc.tokens {
    println!("{}\t{}\t{}\t{}", token.text, token.lemma, token.upos, token.deprel);
}

The README of the code repository has the options of the command line and the Rust interface.

How is the model built?

Diagram of the Glossator model. Three inputs per word (the word itself from a table of 221,745 words, hashed pieces of the word, and its spelling) are joined and pass through two convolution layers, one BiLSTM layer and two transformer layers. Five outputs follow: part of speech, morphology, lemma, names and the dependency parse.

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.

Each word enters the model in three forms: the word itself, looked up in a table of 221,745 lower-cased words; its pieces of three to five letters, hashed into a second table; and 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, one bidirectional LSTM layer and two transformer layers with four attention heads.

Five outputs sit on top: the part of speech (17 tags), the morphological features (136 sets), the lemma (one of 3,916 rewrite rules), the names, and the dependency parse, where a biaffine scorer picks a head for every word and one of 42 relations. The model has 22.6 million parameters: the two tables hold 18.4 million of them, and the network itself has 4.2 million.

What is it useful for?

The outputs support tasks such as indexing Dutch text by lemma for search, extracting the names of persons, organisations and places from Dutch text, finding the subject and object of a verb through the dependency relations, and preparing Dutch text for further analysis with part-of-speech tags and morphological features.

How accurate is Glossator on Dutch?

On the UD Dutch Alpino test set Glossator reaches 96.7 for part of speech, 95.0 for lemmas and 89.7 for the dependency parse (LAS). That is 7 points above spaCy's medium Dutch model on the parse and 1 point below Stanza.

Bar chart of dependency parse accuracy (LAS) on the UD Dutch Alpino test set: Glossator 89.68, spaCy nl_core_news_md 3.8 82.55, Stanza 1.15 Dutch 90.67, on an axis from 0 to 100.

Part of speech Lemma Parse (LAS) Names (F1) Sentences per second
Glossator 96.7 95.0 89.7 70.9 774
spaCy nl_core_news_md 3.8 95.3 91.1 82.6 67.1 414
Stanza 1.15, Dutch 97.1 96.3 90.7 90.3 12

Measured on 29 November 2026 with the same gold tokens for every system and one CPU thread. Part of speech, lemma and parse are scored on the UD Dutch Alpino test set (587 sentences after removing overlapping ones) with the official CoNLL 2018 script; names on the CoNLL-2002 Dutch test set, where Stanza's name model was trained on the training part of the same corpus. spaCy and Stanza are timed in batch mode. The method, the commands to repeat every row, a second test set (UD Dutch LassySmall, where the parse score is 88.65 for Glossator, 82.33 for spaCy and 90.63 for Stanza) and the full tables are in the bench folder of the code repository, and the release note on the Lexbound site reads the results.

How does Glossator compare with spaCy for Dutch?

Glossator scores 89.68 for the parse against 82.55 for spaCy's nl_core_news_md 3.8, and 96.69 against 75.12 for morphological features, on UD Dutch Alpino. It also analyses 774 sentences per second against 414 in spaCy's batch mode. On names spaCy's medium model scores 67.1 and Glossator 70.9 on CoNLL-2002 Dutch. spaCy has training tools, matchers and many languages that Glossator does not have.

How does Glossator compare with Stanza for Dutch?

Glossator is within 1 point of Stanza 1.15 on the parse (89.68 against 90.67 on UD Dutch Alpino) and analyses about 65 times as many sentences per second on one CPU thread (774 against 11.7 for Stanza in batch mode). Stanza is ahead on every accuracy figure: by 0.4 for part of speech (97.12 against 96.74), by 1.3 for lemmas (96.28 against 94.97), and by most on names, where it reaches 90.3 and Glossator 70.9 on CoNLL-2002 Dutch. Stanza's name model was trained on the training part of that corpus.

How fast is Glossator, and does it need a GPU?

On one CPU thread Glossator analyses 774 sentences per second on the UD Dutch Alpino test file. That is about 65 times as many as Stanza and nearly twice as many as spaCy's medium Dutch model in batch mode. A sentence of 25 words takes about 2.5 milliseconds. It runs on the CPU through ONNX Runtime and does not use a GPU.

Bar chart of sentences per second on one CPU thread on the UD Dutch Alpino test file, with spaCy and Stanza in batch mode: Glossator 774.1, spaCy nl_core_news_md 3.8 414.0, Stanza 1.15 Dutch 11.7, on an axis from 0 to 800.

Does it run without Python?

Yes. The tool and the library are written in Rust and call the model through ONNX Runtime, so no Python is needed. It is called from Rust or from the command line.

Which labels does it use?

Universal Dependencies: UPOS tags, UD morphological features and UD dependency relations. Names are PER, ORG and LOC; ANON marks a placeholder that stands for an anonymised name.

Can I use it in a commercial product?

The model is free for research, teaching and other noncommercial use. For use in a product or a service, a commercial licence is available from Lexbound: hello@lexbound.ai.

How do I get access?

Sign in to Hugging Face, press the button at the top of this page, fill in the short form and accept the terms. Access opens at once.

In het Nederlands

Glossator-nl is een model voor het Nederlands. Het geeft van elk woord het lemma (lemmatisering), de woordsoort, de morfologische kenmerken en de dependentierelatie (zinsontleding, dependency parsing), en het herkent namen van personen, organisaties en plaatsen (naamherkenning). De uitvoer is CoNLL-U of JSON. Op de testset UD Dutch Alpino haalt het model 89,7 voor de zinsontleding (LAS) en 96,7 voor woordsoorten, en op รฉรฉn processorthread verwerkt het 774 zinnen per seconde, zonder grafische kaart. Gemeten op 29 november 2026. Het model is gratis voor onderzoek, onderwijs en ander niet-commercieel gebruik (CC BY-NC 4.0). Voor gebruik in een product of dienst is een commerciรซle licentie beschikbaar bij Lexbound: hello@lexbound.ai.

Files

File What it holds
model.onnx, rel.onnx The network: the encoder with its heads, and the scorer of dependency relations
config.json, vocab.json, words.bin Layer sizes, label lists and the word list (stored as hashes)
edit_trees.json The rules that turn a word form into its lemma
tokenizer_nl.json The tokenizer rules for Dutch
SHA256SUMS.txt Checksums of the files above

Limits

  • Dutch only.
  • A sentence longer than 150 tokens is analysed in pieces.
  • The names score is lower than Stanza's on news text (70.9 against 90.3 on CoNLL-2002).
  • The model was trained on a mix of public and licensed Dutch text. The training data is not distributed.

Licence and commercial use

The model is under CC BY-NC 4.0: free for research, teaching and other noncommercial use, with credit to Lexbound. The code is under the PolyForm Noncommercial License 1.0.0.

For use in a product or a service, a commercial licence is available from Lexbound: write to hello@lexbound.ai.

Citation

Murre, D. (2026). Glossator: a Dutch language pipeline in Rust (version 0.1.0). Zenodo. https://doi.org/10.5281/zenodo.24663187

@software{murre2026glossator,
  author    = {Murre, Donald},
  title     = {Glossator: a Dutch language pipeline in Rust},
  year      = {2026},
  version   = {0.1.0},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.24663187},
  url       = {https://doi.org/10.5281/zenodo.24663187}
}

About Lexbound

Glossator is made by Lexbound, which builds AI legal research on European and national law.

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Evaluation results