Barchester Towers

Plaintext for Anthony Trollope's "Barchester Towers"

(198736 words/1092804 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["Barchester Towers"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["Barchester Towers"], "Paragraph"][[10]]
Out[2]=

Visualization

Show the distribution of word lengths:

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

Show the most frequently used adjectives:

In[4]:=
TakeLargest[
 Counts[TextCases[ResourceData["Barchester Towers"], 
   "Adjective"]], 20]
Out[4]=

Wolfram Research, "Barchester Towers" from the Wolfram Data Repository. (2016) https://doi.org/10.24097/wolfram.06416.data

Source Metadata

Data Downloads