texts: Get corpus texts [deprecated]

View source: R/quanteda-methods.R

textsR Documentation

Get corpus texts [deprecated]

Description

Get the texts from a readtext object.

Usage

texts(x, ...)

## S3 method for class 'readtext'
texts(x, ...)

Arguments

x

a readtext object

...

not used

spacer

when concatenating texts by using groups, this will be the spacing added between texts. (Default is two spaces.)

Details

This function is deprecated.

Use as.character.readtext() to turn a readtext object into a simple named character vector of documents.

Value

a character vector of the texts in the corpus


readtext documentation built on June 7, 2023, 5:11 p.m.