The Return of the Native

Plaintext for Thomas Hardy's "The Return of the Native"

(142381 words/782609 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["The Return of the Native"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["The Return of the Native"], "Paragraph"][[50]]
Out[2]=

Visualization

Show the distribution of word lengths:

In[3]:=
With[{words = TextWords[ResourceData["The Return of the Native"]]},
 Histogram[(StringLength /@ words), PlotRange -> Full]]
Out[3]=

Show the most frequently used adjectives:

In[4]:=
BarChart[TakeLargest[
   Counts[TextCases[ResourceData["The Return of the Native"], 
     "Adjective"]], 20] // Reverse, BarOrigin -> Left, 
 ChartLabels -> Automatic]
Out[4]=

Wolfram Research, "The Return of the Native" from the Wolfram Data Repository. (2016) https://doi.org/10.24097/wolfram.18950.data

Source Metadata

Data Downloads