Learn R Programming

koRpus (version 0.10-2)

kRp.text.paste: Paste koRpus objects

Description

Paste the text in koRpus objects.

Usage

kRp.text.paste(txt, replace = c(hon.kRp = "", hoff.kRp = "\n\n", p.kRp =
  "\n\n"))

Arguments

replace

A named character vector to define replacements for koRpus' internal headline and paragraph tags.

Value

An atomic character vector.

Details

This function takes objects of either class kRp.tagged, kRp.txt.freq or kRp.analysis and pastes only the actual text as is.

Examples

Run this code
# NOT RUN {
tagged.text.obj <- freq.analysis("/some/text.txt", corp.freq=my.LCC.data)
kRp.text.paste(tagged.text.obj)
# }

Run the code above in your browser using DataLab