kRp.text.paste: Paste koRpus objects

Description Usage Arguments Details Value Examples

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)


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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.