Main Street

Plaintext for Sinclair Lewis' "Main Street"

(167211 words/947580 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["Main Street"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["Main Street"], "Paragraph"][[20]]
Out[2]=

Visualization

Generate a WordCloud:

In[3]:=
WordCloud[DeleteStopwords[ResourceData["Main Street"]]]
Out[3]=

Compare distribution of word lengths:

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

Wolfram Research, "Main Street" from the Wolfram Data Repository. (2016) https://doi.org/10.24097/wolfram.68488.data

Source Metadata

Data Downloads