text2sentences: Identifies sentences in a text string.

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/functions.R

Description

This function returns the legitimate sentences (if they exist) from a text string.

Usage

1
text2sentences(text, session=getCurlHandle())

Arguments

text

A string (hopefully) containing sentences.

session

This is the CURLHandle object giving the structure for the options and that will process the command. For curlMultiPerform, this is an object of class code MultiCURLHandle-class.

Value

A list containing

sentences

A string identifying the sentences in the text.

Author(s)

Ryan Elmore

References

http://www.datasciencetoolkit.org/developerdocs#text2sentences

See Also

curlPerform, getCurlHandle, dynCurlReader

Examples

1
2
3
4
5
6
	## Not run: 
		sentences <- "But this does, it contains enough words. So does this 
		one, it appears correct. This is long and complete enough too."
		text2sentences(sentences)
	
## End(Not run)

RDSTK documentation built on May 29, 2017, 8:30 p.m.