The Story of Mankind

Plaintext for Hendrik Willem van Loon's "The Story of Mankind"

(127813 words/733260 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["The Story of Mankind"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["The Story of Mankind"], "Paragraph"][[10]]
Out[2]=

Visualization

Show the distribution of sentence lengths:

In[3]:=
Histogram[(Length /@ (TextWords /@ 
     TextSentences[ResourceData["The Story of Mankind"]])), 
 PlotRange -> Full]
Out[3]=

Show the popularity of countries in the text:

In[4]:=
BarChart[TakeLargest[
   Counts[Interpreter["Country"][
     ToLowerCase /@ 
      TextCases[ResourceData["The Story of Mankind"], "Country"]]], 
   10] // Reverse, BarOrigin -> Left, ChartLabels -> Automatic]
Out[4]=

Wolfram Research, "The Story of Mankind" from the Wolfram Data Repository. (2016) https://doi.org/10.24097/wolfram.35912.data

Source Metadata

Data Downloads