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


readtext documentation built on May 29, 2024, 5:13 a.m.