Wolfram Research

Moby Dick

Plaintext for Herman Melville's "Moby Dick"

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["Moby Dick"]
Out[1]=

View the data:

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

Visualization

Create a word cloud:

In[3]:=
WordCloud[DeleteStopwords[ResourceData["Moby Dick"]]]
Out[3]=

Compare word lengths between different works:

In[4]:=
PairedHistogram[StringLength /@ TextWords[ResourceData["Moby Dick"]], StringLength /@ TextWords[ResourceData["A Tale of Two Cities"]], Automatic]
Out[4]=

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

Data Resource History

Source Metadata

Data Downloads

Publisher Information