sentensize: Create sentence

Description Usage Arguments Details Value Classification Note Author(s) Examples

View source: R/sentensize.R

Description

Create a sentence from given content

Usage

1

Arguments

x_s

An unconstrained vector of string values

...

additional arguments (should be convertible to character type).

Details

Collate all arguments, then normalize spaces.

Finally, ensure capitalization of first letter and final colon.

Value

A single string.

Classification

STRATUM ▶ LAYER_1

PHASING ▶ BUILD

INTENT ▶ PARTS_BUILDING

Note

There is no way to ask for a different final punctuation mark. If you need to do so, either create your own helper function or simply sub provided result.

Author(s)

Fabien Gelineau <neonira@gmail.com>

Maintainer: Fabien Gelineau <neonira@gmail.com>

Examples

1
2
sentensize('a quick brown FOX jumps\tover', 'the     lazy      dog')
#  "A quick brown FOX jumps over the lazy dog."

neonira/wyz.code.rdoc documentation built on Feb. 19, 2020, 12:47 p.m.