A Little Princess

Plaintext for Frances Hodgson Burnett's "A Little Princess"

(66877 words/364278 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["A Little Princess"]
Out[1]=

View the data:

In[2]:=
RandomChoice[
 TextCases[ResourceData["A Little Princess"], "Paragraph"]]
Out[2]=

Visualization

Create a word cloud:

In[3]:=
WordCloud[DeleteStopwords[ResourceData["A Little Princess"]]]
Out[3]=

Show the most frequently used nouns:

In[4]:=
BarChart[TakeLargest[
   Counts[TextCases[ResourceData["A Little Princess"], "Noun"]], 20] //
   Reverse, BarOrigin -> Left, ChartLabels -> Automatic]
Out[4]=

Wolfram Research, "A Little Princess" from the Wolfram Data Repository. (2016) https://doi.org/10.24097/wolfram.89616.data

Source Metadata

Data Downloads