The Metamorphosis

Plaintext for Franz Kafka's "The Metamorphosis"

(22011 words/119166 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["The Metamorphosis"]
Out[1]=

View the data:

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

Visualization

Show the distribution of word lengths:

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

Show the most frequently used verbs:

In[4]:=
BarChart[
 TakeLargest[
   Counts[TextCases[ResourceData["The Metamorphosis"], "Verb"]], 20] //
   Reverse, BarOrigin -> Left, ChartLabels -> Automatic]
Out[4]=

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

Data Resource History

Source Metadata

Data Downloads

Publisher Information