The Napoleon of Notting Hill

Plaintext for G. K. Chesterton's "The Napoleon of Notting Hill"

(55038 words/307455 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["The Napoleon of Notting Hill"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["The Napoleon of Notting Hill"], 
  "Paragraph"][[10]]
Out[2]=

Visualization

Show the most frequently used proper nouns in the text:

In[3]:=
TakeLargest[
 Counts[TextCases[ResourceData["The Napoleon of Notting Hill"], 
   "ProperNoun"]], 20]
Out[3]=

Show the distribution of sentence lengths:

In[4]:=
With[{sentences = 
   TextSentences[ResourceData["The Napoleon of Notting Hill"]]},
 Histogram[(Length /@ (TextWords /@ sentences)), PlotRange -> Full]]
Out[4]=

Wolfram Research, "The Napoleon of Notting Hill" from the Wolfram Data Repository. (2016) https://doi.org/10.24097/wolfram.44738.data

Source Metadata

Data Downloads