Paste koRpus objects

Share:

Description

Paste the text in koRpus objects.

Usage

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

Arguments

txt

An object of class kRp.txt.trans-class, kRp.tagged-class, kRp.txt.freq-class or kRp.analysis-class.

replace

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

Details

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

Value

An atomic character vector.

Examples

1
2
3
4
5
## Not run: 
tagged.text.obj <- freq.analysis("/some/text.txt", corp.freq=my.LCC.data)
kRp.text.paste(tagged.text.obj)

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.