cwb_decode: Decode entire corpus

View source: R/cwb_decode.R

cwb_decodeR Documentation

Decode entire corpus

Description

A convenience wrapper generating system() calls to cwb-decode Requires a working installation of cwb

Usage

cwb_decode(corpus, p_attrs = "word", s_attrs = "text_id")

Arguments

corpus

character name of the corpus in the cwb registry

p_attrs

character vector with p-attributes, defaults to "word"

s_attrs

character vector with s-attributes, defaults to "text_id"

Examples

## Not run: 
cmd <- cwb_decode("BROWN", c("word", "lemma"), c("text_id", "text_genre"))
stopifnot(is.character(cmd), length(cmd) == 1)

## End(Not run)


alex-raw/cwbwrapr documentation built on Oct. 23, 2022, 9:08 p.m.