Skip to content

corpustools

0.5.2

Managing, Querying and Analyzing Tokenized Text

2packages depend
11.3Kdownloads / year
0.0%test coverage
11/13checks pass

Overview

About
Maintained by Kasper WelbersFirst published 2017-10-0314 releasesCRAN page ↗GitHub ↗

Provides text analysis in R, focusing on the use of a tokenized text format. In this format, the positions of tokens are maintained, and each token can be annotated (e.g., part-of-speech tags, dependency relations). Prominent features include advanced Lucene-like querying for specific tokens or contexts (e.g., documents, sentences), similarity statistics for words and documents, exporting to DTM for compatibility with many text analysis packages, and the possibility to reconstruct original text from tokens to facilitate interpretation.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 5.3 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.07
0.0%
Coverage · measured lines
100%
Documentation · exports
16
Dependencies · direct
Check history
  • NOTE2026-07-11
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-09
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 207 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
80%
Documented parameters
99%
Return-value docs
71%
References docs
0%

Downloads

11.3K
CRAN downloads in the past year
Rank #7,494 · ~31/day · ~941/mo
Daily download trend is not available in this view yet.
28230 days
1.2K90 days
11.3K1 year
Compare downloads with other packages →
Also on459 r2u12 autocran

Repository

Repository
32Stars
11Forks
0Open issues
0Open PRs
0Releases
185Commits
4Contributors
185 commits · Last activity 2025-07-10 · 0% stars, 30d

Stars over time

2025-02-03 · 312026-07-07 · 32

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/kasperwelbers/corpustools on 2026-08-16.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
2direct
0indirect

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

14 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.2Latest
    2025-07-07 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.5.1
    2023-05-08 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.10
    2022-05-11 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.9
    2022-01-23 · diff ↗
  • 0.4.8
    2021-06-25 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.4.7
    2021-02-28 · diff ↗
  • 0.4.6
    2021-02-03 · diff ↗
  • 0.4.5
    2021-01-13 · diff ↗
  • 0.4.4
    2021-01-07 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
Show 8 earlier events
  • 0.4.2
    2020-01-23 · diff ↗
  • 0.4.1
    2019-11-20 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 0.3.3
    2018-04-20 · diff ↗
  • 0.3.1
    2017-12-13 · diff ↗
  • 0.3
    2017-10-03
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-10-03
Total releases
14 / 9 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.0
Bundled data
292 KB / 4 files
Download size
718 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("corpustools")
Welbers, K., & van Atteveldt, W. (2025). corpustools: Managing, Querying and Analyzing Tokenized Text (Version 0.5.2) [Computer software]. https://doi.org/10.32614/CRAN.package.corpustools

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for corpustools version 0.5.2 [Data set]. HJJB, LLC. Data release v2026-08-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy