Learn R Programming

koRpus (version 0.06-5)

kRp.txt.trans,-class: S4 Class kRp.txt.trans

Description

This class is used for objects that are returned by kRp.text.transform.

Arguments

Slots

lang
A character string, naming the language that is assumed for the analized text in this object.
desc
Descriptive statistics of the tagged text.
TT.res
A data.frame with the fully tagged and transformed text (like TT.res in class koRpus.tagged, plus the new columns token.old and equal).
diff
A list with atomic vectors, describing the amount of diffences between both text variants (percentage):
all.tokens:
Percentage of all tokens, including punctuation, that were altered.
words:
Percentage of altered words only.
all.chars:
Percentage of all characters, including punctuation, that were altered.
letters:
Percentage of altered letters in words only.