Wolfram Computation Meets Knowledge

The Sorrows of Young Werther

Plaintext for Johann Wolfgang von Goethe's "The Sorrows of Young Werther"

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["The Sorrows of Young Werther"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["The Sorrows of Young Werther"], 
  "Paragraph"][[25]]
Out[2]=

Visualization

Generate a WordCloud:

In[3]:=
WordCloud[
 DeleteStopwords[ResourceData["The Sorrows of Young Werther"]]]
Out[3]=

Compare sentence lengths:

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

Wolfram Research, "The Sorrows of Young Werther" from the Wolfram Data Repository (2016) https://doi.org/10.24097/wolfram.79717.data

Data Resource History

Source Metadata

Data Downloads

Publisher Information