Wolfram Research

Mary Barton

Plaintext for Elizabeth Cleghorn Gaskell's "Mary Barton"

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["Mary Barton"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["Mary Barton"], "Paragraph"][[10]]
Out[2]=

Visualization

Show the distribution of sentence lengths:

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

Create a word cloud:

In[4]:=
WordCloud[DeleteStopwords[ResourceData["Mary Barton"]]]
Out[4]=

Wolfram Research, "Mary Barton" from the Wolfram Data Repository (2016) https://doi.org/10.24097/wolfram.78744.data

Data Resource History

Source Metadata

Data Downloads

Publisher Information