Vanity Fair

Plaintext for William Makepeace Thackeray's "Vanity Fair"

(304271 words/1716046 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["Vanity Fair"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["Vanity Fair"], "Paragraph"][[25]]
Out[2]=

Visualization

Create a word cloud:

In[3]:=
WordCloud[DeleteStopwords[ResourceData["Vanity Fair"]]]
Out[3]=

Show the distribution of sentence lengths:

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

Wolfram Research, "Vanity Fair" from the Wolfram Data Repository (2017)   https://doi.org/10.24097/wolfram.39685.data

Data Resource History

Source Metadata

Data Downloads

Publisher Information