cwb_scan: Call cwb-scan-corpus with vectors of parameters

View source: R/cwb_scan_interface.R

cwb_scanR Documentation

Call cwb-scan-corpus with vectors of parameters

Description

This calls cwb-scan-corpus with parameters provided by vectors for all their combinations. Currently one p_attribute and one s_attribute are hard-coded.

Usage

cwb_scan(..., dir_path = tempdir(), constraint = NULL)

Arguments

dir_path

Name of the directory to save files in

constraint

additional character string with constraints, see man cwb-scan-corpus

corpus

Name of the encoded cwb corpus.

p_attr

positional attribute to scan

s_attr

structural attribute to scan

Value

character dir_path if specified, else path to temporary directory


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