#tokenizer #language #dutch


Wrapper around the Alpino tokenizer for Dutch

3 releases (breaking)

0.3.0 Oct 8, 2020
0.2.0 Apr 9, 2020
0.1.0 Oct 11, 2019

28 downloads per month
Used in alpino-tokenize


427 lines


This Rust crate provides a tokenizer based on finite state transducers. It is primarily designed to use the Alpino tokenizer for Dutch, but in principle, you could load a tokenizer for any language.

The transducer of the Alpino tokenizer can be downloaded. We will synchronize the transducer regularly as the tokenizer in Alpino is updated.

You can use the alpino-tokenizer crate to integrate the tokenizer in your Rust programs.

For convenience, an alpino-tokenize command-line utility is provided for tokenizing text on from the shell or in shell scripts.

Installing the alpino-tokenize command-line utility


The alpino-tokenize utility can be installed with cargo:

$ cargo install alpino-tokenize


This repository is also a Nix flake. If you use a Nix version that supports flakes, you can start a shell with alpino-tokenize as follows:

$ nix shell github:danieldk/alpino-tokenizer


Copyright 2019-2020 Daniël de Kok

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


~73K SLoC