cqi_attributes: List the available attributes

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

Description

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

Usage

1

Arguments

corpus

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

type

(character) a character designating a type of attributes. Possible values are "a" for alignment attributes, "p" for positional attributes and "s" for structural attributes.

Details

For a specified corpus, this function lists the names of the different kinds of attributes used for the indexation. There are three kinds of attributes: positional, structural and alignment attributes (for aligned corpora).

Value

cqi_attributes returns a list of strings which are the names of the requested attributes.

Author(s)

Bernard Desgraupes - bernard.desgraupes@u-paris10.fr - University Paris-10.
Sylvain Loiseau - sylvain.loiseau@univ-paris13.fr - University Paris-13.

Source

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

References

http://cwb.sourceforge.net/documentation.php

See Also

cqi_attribute_size, cqi_structural_attribute_has_values.

Examples

1
2
3
4
5
6
## Not run: 
cqi_attributes("DICKENS", "p")
cqi_attributes("DICKENS", "s")
cqi_attributes("DICKENS", "a")

## End(Not run)

PolMine/rcqp.mac documentation built on May 28, 2019, 2:24 p.m.