TextSentences

TextSentences["string"]

gives a list of the runs of characters identified as sentences in string.

TextSentences["string",n]

gives the first n sentences in string.

Details

Examples

open allclose all

Basic Examples  (2)

Segment a string into sentences:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Get the first three sentences from a block of text:

In[1]:=
Click for copyable input
Out[1]=

Scope  (2)

Possible Issues  (1)

Neat Examples  (1)

See Also

TextWords  TextCases  StringSplit

Introduced in 2015
(10.1)