Robinson Crusoe

Plaintext for Daniel Defoe's "Robinson Crusoe"

(232180 words/1205627 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["Robinson Crusoe"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["Robinson Crusoe"], "Paragraph"][[1]]
Out[2]=

Visualization

Show the popularity of countries in text:

In[3]:=
BarChart[TakeLargest[
   Counts[Interpreter["Country"][
     ToLowerCase /@ 
      TextCases[ResourceData["Robinson Crusoe"], "Country"]]], 20] // 
  Reverse, BarOrigin -> Left, ChartLabels -> Automatic]
Out[3]=

Compare word lengths:

In[4]:=
With[{words = TextWords[ResourceData["Robinson Crusoe"]]},
 Histogram[(StringLength /@ words), PlotRange -> Full]]
Out[4]=

Wolfram Research, "Robinson Crusoe" from the Wolfram Data Repository. (2016) https://doi.org/10.24097/wolfram.10805.data

Source Metadata

Data Downloads