The Magic of Oz

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

(39447 words/213858 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

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

View the data:

In[2]:=
RandomChoice[TextCases[ResourceData["The Magic of Oz"], "Paragraph"]]
Out[2]=

Visualization

Diagram a sentence:

In[3]:=
Column[{#, TextStructure[#, "ConstituentGraph"]}] &[
 RandomChoice[TextSentences[ResourceData["The Magic of Oz"]]]]
Out[3]=

Compare word lengths between works:

In[4]:=
PairedHistogram[
 StringLength /@ TextWords[ResourceData["The Magic of Oz"]], 
 StringLength /@ 
  TextWords[ResourceData["The Patchwork Girl of Oz"]], Automatic]
Out[4]=

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

Source Metadata

Data Downloads