pAttributes: Get p-attributes.

Description Usage Arguments References Examples

Description

In a CWB corpus, every token has positional attributes. While s-attributes cover a range of tokens, every single token in the token stream of a corpus will have a set of positional attributes (such as part-of-speech, or lemma). The available p-attributes are returned by the pAttributes-method.

Usage

1
2
3
4
pAttributes(.Object)

## S4 method for signature 'character'
pAttributes(.Object)

Arguments

.Object

a character vector (length 1) or partition object

References

Stefan Evert & The OCWB Development Team, CQP Query Language Tutorial, http://cwb.sourceforge.net/files/CQP_Tutorial.pdf.

Examples

1
2
3
4
5
## Not run: 
   use("polmineR.sampleCorpus")
   pAttributes("PLPRBTTXT")

## End(Not run)

nrauscher/corpus documentation built on May 23, 2019, 9:34 p.m.