The Secret Garden

Plaintext for Frances Hodgson Burnett's "The Secret Garden"

(81027 words/429395 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["The Secret Garden"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["The Secret Garden"], "Paragraph"][[10]]
Out[2]=

Visualization

Show the popularity of countries in the text:

In[3]:=
BarChart[
 TakeLargest[
   Counts[Interpreter["Country"][
     ToLowerCase /@ TextCases[ResourceData["The Secret Garden"], "Country"]]], 4] //
   Reverse, BarOrigin -> Left, ChartLabels -> Automatic]
Out[3]=

Show the distribution of word lengths:

In[4]:=
With[{words = TextWords[ResourceData["The Secret Garden"]]},
 Histogram[(StringLength /@ words), PlotRange -> Full]]
Out[4]=

Wolfram Research, "The Secret Garden" from the Wolfram Data Repository (2016)   https://doi.org/10.24097/wolfram.68135.data

Data Resource History

Source Metadata

Data Downloads

Publisher Information