capitals: Capitals dataset

capitalsR Documentation

Capitals dataset

Description

A small corpus of English sentences about France, Germany and their capitals. It is deliberately tiny, so that the examples of the text mining functions run in a moment; a real corpus is loaded with loadtext.

Usage

capitals

Format

A character vector of 30 sentences, lowercase and free of punctuation.

Author(s)

Alexandre Blansché alexandre.blansche@univ-lorraine.fr

See Also

getvocab, vectorize.docs, vectorize.words, loadtext


fdm2id documentation built on Aug. 28, 2026, 9:07 a.m.