cwbtools: Tools to Create, Modify and Manage 'CWB' Corpora

The 'Corpus Workbench' ('CWB', <>) offers a classic and mature approach for working with large, linguistically and structurally annotated corpora. The 'CWB' is memory efficient and its design makes running queries fast (Evert and Hardie 2011, <>). The 'cwbtools' package offers pure R tools to create indexed corpus files as well as high-level wrappers for the original C implementation of CWB as exposed by the 'RcppCWB' package <>. Additional functionality to add and modify annotations of corpora from within R makes working with CWB indexed corpora much more flexible and convenient. The 'cwbtools' package in combination with the R packages 'RcppCWB' (<>) and 'polmineR' (<>) offers a lightweight infrastructure to support the combination of quantitative and qualitative approaches for working with textual data.

Version: 0.3.3
Imports: data.table, R6, xml2, stringi, curl, RcppCWB (≥ 0.2.8), pbapply, methods, tools, cli, jsonlite, httr, rstudioapi, zen4R
Suggests: tm (≥ 0.7.3), knitr, tokenizers (≥ 0.2.1), tidytext, SnowballC, janeaustenr, NLP, testthat, rmarkdown, openNLP, aws.s3
Published: 2021-02-23
Author: Andreas Blaette [aut, cre], Christoph Leonhardt [ctb]
Maintainer: Andreas Blaette <andreas.blaette at>
License: GPL-3
NeedsCompilation: no
Language: en-US
Citation: cwbtools citation info
Materials: NEWS
CRAN checks: cwbtools results


Reference manual: cwbtools.pdf
Vignettes: CWB corpora and openNLP
How to add a sentence annotation to an indexed corpus
Introducing 'cwbtools'
Package source: cwbtools_0.3.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: cwbtools_0.3.3.tgz, r-oldrel: cwbtools_0.3.2.tgz
Old sources: cwbtools archive

Reverse dependencies:

Reverse imports: GermaParl


Please use the canonical form to link to this page.