Learn R Programming

polmineR (version 0.7.9)

p_attributes: 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 p_attributes-method.

Usage

p_attributes(.Object, ...)

# S4 method for character p_attributes(.Object, p_attribute = NULL, ...)

Arguments

.Object

a character vector (length 1) or partition object

...

further arguments

p_attribute

p-attribute to decode

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")
p_attributes("GERMAPARLMINI")
# }

Run the code above in your browser using DataLab