extract_title {poldis} | R Documentation |
Extract first sentence from text
Description
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.")
[Package poldis version 0.1.1 Index]