Skip to contents

A lot of information is contained in the first sentence of a text. In political texts, for example, dates and locations are often contained in the first sentence of the text.

Usage

extract_title(v)

Arguments

v

Text vector.

Value

A list of the first sentences in text.

Examples

extract_title("This is the first sentence. This is the second sentence.")
#> [1] "This is the first sentence."