Faust

Faust: Der Tragödie erster Teil, by Johann Wolfgang von Goethe

(30619 words/187616 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

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

View the data:

In[2]:=
RandomChoice[TextCases[ResourceData["Faust"], "Paragraph"]]
Out[2]=

Visualization

Show the distribution of sentence lengths:

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

Compare word lengths between different works:

In[4]:=
PairedHistogram[StringLength /@ TextWords[ResourceData["Faust"]], 
 StringLength /@ 
  TextWords[ResourceData["Death in Venice"]], Automatic]
Out[4]=

Wolfram Research, "Faust" from the Wolfram Data Repository. (2015) https://doi.org/10.24097/wolfram.35163.data

Source Metadata

Data Downloads