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

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


kbenoit/readtext documentation built on Feb. 27, 2024, 7:45 p.m.