extract_sentences: Extract sentences

Description Usage Arguments Note Examples

Description

Takes a string and returns a vector of each sentence in the string.

Usage

1

Arguments

text

Character vector containing all the lines in a given text

Note

This function takes out all periods, question marks, exclamation points and quotation marks.

Examples

1
2
sampleText <- gardenParty[10]
extract_sentences(text = sampleText)

Amherst-Statistics/katherinemansfieldr documentation built on May 5, 2019, 4:55 a.m.