cqi_list_subcorpora: List of currently defined subcorpora

Description Usage Arguments Details Value Author(s) Source See Also Examples

View source: R/main.R

Description

Get a list of the currently defined subcorpora in a given corpus.

Usage

1

Arguments

corpus

(string) the name of the parent corpus (in uppercase letters).

Details

This function returns a list of all the named subcorpora currently defined. A subcorpus is the result of a query and its name is typically declared in the second argument of the cqi_query function.

Value

cqi_list_subcorpora returns a list of the existing subcorpora in the specified corpus.

Author(s)

Bernard Desgraupes - [email protected] - University Paris-10.
Sylvain Loiseau - [email protected] - University Paris-13.

Source

The IMS Open Corpus Workbench (CWB) at http://cwb.sourceforge.net/

See Also

cqi_list_corpora, cqi_query, cqi_subcorpus_size, cqi_attributes, cqi_fdist.
subcorpus, corpus.

Examples

1
2
3
4
5
6
## Not run: 
cqi_query("DICKENS","Foo","\"interesting\"")
# The returned string should contain at least "Last" and "Foo"
cqi_list_subcorpora("DICKENS")

## End(Not run)

PolMine/rcqp.mac documentation built on Dec. 19, 2017, 3:12 a.m.