The Rainbow

Plaintext for D.H. Lawrence's "The Rainbow"

(186123 words/1029917 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["The Rainbow"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["The Rainbow"], "Paragraph"][[10]]
Out[2]=

Visualization

Create a WordCloud:

In[3]:=
WordCloud[DeleteStopwords[ResourceData["The Rainbow"]]]
Out[3]=

Show the most frequently used adjectives:

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

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

Source Metadata

Data Downloads