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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.3.1 by Andreas Blaette, 3 months ago

Report a bug at

Browse source code at

Authors: Andreas Blaette [aut, cre] , Christoph Leonhardt [ctb]

Documentation:   PDF Manual  

GPL-3 license

Imports data.table, R6, xml2, stringi, curl, RcppCWB, pbapply, methods, cli, jsonlite, RCurl, rstudioapi, zen4R

Suggests tm, knitr, tokenizers, tidytext, SnowballC, janeaustenr, devtools, NLP, testthat, usethis, rmarkdown

Imported by GermaParl.

See at CRAN