The Royal Book of Oz

Plaintext for Ruth Plumly Thompson's "The Royal Book of Oz"

(42449 words/244387 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["The Royal Book of Oz"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["The Royal Book of Oz"], "Paragraph"][[20]]
Out[2]=

Visualization

Compare word lengths between different works:

In[3]:=
PairedHistogram[
 StringLength /@ TextWords[ResourceData["The Royal Book of Oz"]], 
 StringLength /@ TextWords[ResourceData["Ozma of Oz"]], Automatic]
Out[3]=

Show the most frequently used of proper nouns:

In[4]:=
BarChart[TakeLargest[
   Counts[TextCases[ResourceData["The Royal Book of Oz"], 
     "ProperNoun"]], 20] // Reverse, BarOrigin -> Left, 
 ChartLabels -> Automatic]
Out[4]=

Wolfram Research, "The Royal Book of Oz" from the Wolfram Data Repository. (2016) https://doi.org/10.24097/wolfram.48574.data

Source Metadata

Data Downloads