load_twenty_newsgroups: Loads 20 newsgroups

Description Usage Arguments Value

View source: R/load_corpus.R

Description

Loads 20 newsgroups

Usage

1

Arguments

type

Type of texts to be sampled. Possible values are texts, paragraphs, sentences, words, and characters.

sub_token

A string specifying the text unit for filtering texts by length via min_length and max_length.

Value

Text corpus.


nproellochs/textsampler documentation built on Nov. 4, 2019, 10:10 p.m.