Learn R Programming

rcqp (version 0.5)

cqi_list_subcorpora: List of currently defined subcorpora

Description

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

Usage

cqi_list_subcorpora(corpus)

Arguments

corpus

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

Value

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

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.

See Also

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

Examples

Run this code
# NOT RUN {
cqi_query("DICKENS","Foo","\"interesting\"")
# The returned string should contain at least "Last" and "Foo"
cqi_list_subcorpora("DICKENS")
# }

Run the code above in your browser using DataLab