split_to_sentences: Split to Sentences

Description Usage Arguments Value Author(s) Examples

View source: R/split_to_sentences.R

Description

split_to_sentences splits a text into sentences.

Usage

1

Arguments

text

The text variable.

abbrvt

Character vector of abbreviations not to split at.

Value

Returns a character vector with each sentence in the text variable as a separate element.

Author(s)

Achilleas Passias

Examples

1
2
3
text <- c("Hello Mr. Smith. Nice to see you!")

split_to_sentences(text)

achilleas-251/txtprocess documentation built on March 30, 2020, 12:43 a.m.