Skip to contents

Returns a short passage in the requested language, useful for examples and quick experiments. The passages describe the same scene in each language; they were written for this package and are distributed under its licence.

Usage

syn_example_text(lang = c("en", "de", "fr"))

Arguments

lang

Language code, one of "en", "de", "fr".

Value

A single character string.

See also

Other reading functions: syn_read_text()

Examples

syn_example_text("en")
#> [1] "The morning broke quietly over the harbour. Grey water lay still against the stones, and the boats had not yet stirred. A single gull crossed the pale sky, calling once, then falling silent. She watched from the window and felt the day gather its slow weight. Later the wind would rise, and the colours would sharpen, and the small town would remember how to move. But for now there was only the hush, the patient light, and the long breath before everything began again."