Wolfram Computation Meets Knowledge

Tanglewood Tales

Plaintext for Nathaniel Hawthorne's "Tanglewood Tales"

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["Tanglewood Tales"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["Tanglewood Tales"], "Paragraph"][[20]]
Out[2]=

Visualization

Show the most frequently used proper nouns in the text:

In[3]:=
TakeLargest[
 Counts[TextCases[ResourceData["Tanglewood Tales"], 
   "ProperNoun"]], 20]
Out[3]=

Show the distribution of sentence lengths:

In[4]:=
With[{sentences = TextSentences[ResourceData["Tanglewood Tales"]]},
 Histogram[(Length /@ (TextWords /@ sentences)), PlotRange -> Full]]
Out[4]=

Wolfram Research, "Tanglewood Tales" from the Wolfram Data Repository (2016) https://doi.org/10.24097/wolfram.04449.data

Data Resource History

Source Metadata

Data Downloads

Publisher Information