tokenize_sentences: Sentence tokenizer

Description Usage Arguments Value Author(s) Examples

View source: R/RcppExports.R

Description

Get sentence tokens from text

Usage

1
tokenize_sentences(input, EOS = ".?!:;")

Arguments

input

a character vector.

EOS

a length one character vector listing all (single character) end-of-sentence tokens.

Value

a character vector, each entry of which corresponds to a single sentence.

Author(s)

Valerio Gherardi

Examples

1
tokenize_sentences("Hi there! I'm using `sbo`.")

sbo documentation built on Dec. 6, 2020, 1:06 a.m.