Mary Barton

Plaintext for Elizabeth Cleghorn Gaskell's "Mary Barton"

(161950 words/880095 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

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

View the data:

In[2]:=
RandomChoice[TextCases[ResourceData["Mary Barton"], "Paragraph"]]
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]=

Diagram a sentence:

In[4]:=
Column[{#, TextStructure[#, "ConstituentGraph"]}] &[
 RandomChoice[TextSentences[ResourceData["Mary Barton"]]]]
Out[4]=

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

Source Metadata

Data Downloads