The Mad King

Plaintext for Edgar Rice Burroughs' "The Mad King"

(93311 words/514539 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["The Mad King"]
Out[1]=

View the data:

In[2]:=
RandomChoice[TextCases[ResourceData["The Mad King"], "Paragraph"]]
Out[2]=

Visualization

Diagram a sentence:

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

Show the popularity of countries in a text:

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

Wolfram Research, "The Mad King" from the Wolfram Data Repository (2016)   https://doi.org/10.24097/wolfram.89925.data

Data Resource History

Source Metadata

Data Downloads

Publisher Information