Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Count the number of sentences in a string of text
ResourceFunction["SentenceCount"][str] count the number of sentences in the string of text str. |
Count the number of sentences in the largest Wikipedia article, the Wikipedia article for the United States:
In[1]:= |
Out[1]= |
Count the number of sentences in Hamlet:
In[2]:= |
Out[2]= |
Make a dataset of the number of sentences in example data texts and sort in descending order:
In[3]:= |
Out[3]= |
This work is licensed under a Creative Commons Attribution 4.0 International License