Learn R Programming

polmineR (version 0.7.0)

pAttributes: Get p-attributes.

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

pAttributes(.Object)
"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

Run this code
## Not run: 
#    use("polmineR.sampleCorpus")
#    pAttributes("PLPRBTTXT")
# ## End(Not run)

Run the code above in your browser using DataLab