Dubliners

Plaintext for James Joyce's "Dubliners"

(67589 words/370749 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["Dubliners"]
Out[1]=

View the data:

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

Visualization

Create a WordCloud:

In[3]:=
WordCloud[DeleteStopwords[ResourceData["Dubliners"]]]
Out[3]=

Show the distribution of sentence lengths:

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

Show the distribution of word lengths:

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

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

Source Metadata

Data Downloads