tokenizers
0.3.0Fast, Consistent Tokenization of Natural Language Text
Overview
Convert natural language text into tokens. Includes tokenizers for shingled n-grams, skip n-grams, words, word stems, sentences, paragraphs, characters, shingled characters, lines, Penn Treebank, regular expressions, as well as functions for counting characters, words, and sentences, and a function for splitting longer texts into separate documents, each with the same number of words. The tokenizers have a consistent interface, and the package is built on the 'stringi' and 'Rcpp' packages for fast yet correct tokenization in 'UTF-8'.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE r-devel-linux-x86_64-fedora-clang
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE r-devel-windows-x86_64
- NOTE2026-04-2212 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1811 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-1012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 86%
- Documented parameters
- 100%
- Return-value docs
- 86%
- References docs
- 11%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
10 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/ropensci/tokenizers on 2026-08-16.
Show all practices
Dependencies
Code & Tests
Datasets
People & History
9 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.3.0Latest
- 0.2.32022-09-23 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 0.2.12018-03-29 · diff ↗
- 0.2.02018-03-21 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 0.1.42016-08-29 · diff ↗
- 0.1.32016-08-18 · diff ↗
Package metadata
- First published
- 2016-04-02
- Total releases
- 9 / 10 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.1.3
- Bundled data
- 379 KB / 1 file
- Download size
- 448 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tokenizers")The authors publish a JOSS paper, so they have said how they want this cited. Run citation() and use what it gives you.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.