Last data update: 2014.03.03

R: Identifies sentences in a text string.
text2sentencesR Documentation

Identifies sentences in a text string.

Description

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

Usage

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

	## 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)

Results