kRp.text.paste: Paste koRpus objects

Description Usage Arguments Details Value Examples

View source: R/kRp.text.paste.R

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)

koRpus documentation built on May 19, 2017, 11:07 p.m.

Search within the koRpus package
Search all R packages, documentation and source code