The Patchwork Girl of Oz

Plaintext for L. Frank Baum's "The Patchwork Girl of Oz"

(57528 words/312876 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["The Patchwork Girl of Oz"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["The Patchwork Girl of Oz"], "Paragraph"][[10]]
Out[2]=

Visualization

Show the most frequently used verbs:

In[3]:=
BarChart[TakeLargest[
   Counts[TextCases[ResourceData["The Patchwork Girl of Oz"], 
     "Verb"]], 20] // Reverse, BarOrigin -> Left, 
 ChartLabels -> Automatic]
Out[3]=

Show the distribution of word lengths:

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

Wolfram Research, "The Patchwork Girl of Oz" from the Wolfram Data Repository. (2016) https://doi.org/10.24097/wolfram.08120.data

Source Metadata

Data Downloads