The History of Mr. Polly

Plaintext for H. G. Wells' "The History of Mr. Polly"

(68890 words/392740 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["The History of Mr. Polly"]
Out[1]=

View the data:

In[2]:=
RandomChoice[
 TextCases[ResourceData["The History of Mr. Polly"], "Paragraph"]]
Out[2]=

Visualization

Show the distribution of sentence lengths:

In[3]:=
With[{sentences = 
   TextSentences[ResourceData["The History of Mr. Polly"]]},
 Histogram[(Length /@ (TextWords /@ sentences))]]
Out[3]=

Diagram a sentence:

In[4]:=
Column[{#, TextStructure[#, "ConstituentGraph"]}] &[
 RandomChoice[
  TextSentences[ResourceData["The History of Mr. Polly"]]]]
Out[4]=

Wolfram Research, "The History of Mr. Polly" from the Wolfram Data Repository. (2016) https://doi.org/10.24097/wolfram.81667.data

Source Metadata

Data Downloads