The Scarlet Letter

Plaintext for Nathaniel Hawthorne's "The Scarlet Letter"

(83661 words/482670 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["The Scarlet Letter"]
Out[1]=

View the data:

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

Visualization

Generate a WordCloud:

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

Show the most frequently used of proper nouns:

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

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

Source Metadata

Data Downloads