Learn R Programming

polmineR (version 0.7.11)

subcorpus-class: S4 subcorpus class.

Description

S4 subcorpus class.

Usage

# S4 method for subcorpus
show(object)

Arguments

object

A subcorpus object.

Methods (by generic)

  • show: Output basic information about subcorpus object.

Slots

s_attributes

A named list with the structural attributes defining the subcorpus.

cpos

A matrix with left and right corpus positions defining regions (two columns).

annotations

Object of class list.

size

Total size of the subcorpus (length-one integer vector).

metadata

Object of class data.frame, metadata information.

strucs

Object of class integer, the strucs defining the subcorpus.

xml

Object of class character, whether the xml is "flat" or "nested".

s_attribute_strucs

Object of class character, the base node.

key

Experimental, an s-attribute that is used as a key.

See Also

Other classes to manage corpora: corpus-class, regions