A Tale of Two Cities

Plaintext for Charles Dickens' "A Tale of Two Cities"

(136450 words/757220 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["A Tale of Two Cities"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["A Tale of Two Cities"], "Paragraph"][[50]]
Out[2]=

Visualization

Generate a word cloud:

In[3]:=
WordCloud[DeleteStopwords[ResourceData["A Tale of Two Cities"]]]
Out[3]=

Compare word lengths between different works:

In[4]:=
PairedHistogram[
 StringLength /@ TextWords[ResourceData["The Pickwick Papers"]], StringLength /@ TextWords[ResourceData["A Tale of Two Cities"]], Automatic]
Out[4]=

Wolfram Research, "A Tale of Two Cities" from the Wolfram Data Repository (2016)   https://doi.org/10.24097/wolfram.42727.data

Data Resource History

Source Metadata

Data Downloads

Publisher Information