Tools to Create, Modify and Manage 'CWB' Corpora

The 'Corpus Workbench' ('CWB', < https://cwb.sourceforge.io/>) 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, see Evert (2011) < https://eprints.lancs.ac.uk/id/eprint/62721>. 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 (< https://CRAN.R-project.org/package=RcppCWB>). 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' (< https://CRAN.R-project.org/package=RcppCWB>) and 'polmineR' (< https://CRAN.R-project.org/package=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.

install.packages("cwbtools")

0.4.2 by Andreas Blaette, 2 years ago


https://github.com/PolMine/cwbtools


Report a bug at https://github.com/PolMine/cwbtools/issues


Browse source code at https://github.com/cran/cwbtools


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


Documentation:   PDF Manual  


GPL-3 license


Imports data.table, R6, xml2, stringi, curl, RcppCWB, pbapply, methods, tools, cli, jsonlite, httr, rstudioapi, zen4R, lifecycle, fs

Suggests tm, knitr, markdown, tokenizers, tidytext, SnowballC, janeaustenr, testthat, rmarkdown, aws.s3, quanteda, dplyr


See at CRAN