An Enemy of the People

Plaintext for Henrik Ibsen's "An Enemy of the People"

(31496 words/175543 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["An Enemy of the People"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["An Enemy of the People"], "Paragraph"][[
  20 ;; 25]] // Column
Out[2]=

Visualization

Generate a WordCloud:

In[3]:=
WordCloud[DeleteStopwords[ResourceData["An Enemy of the People"]]]
Out[3]=

Show the most frequently used verbs:

In[4]:=
BarChart[TakeLargest[
   Counts[TextCases[ResourceData["An Enemy of the People"], "Verb"]], 20] // Reverse, BarOrigin -> Left, ChartLabels -> Automatic]
Out[4]=

Wolfram Research, "An Enemy of the People" from the Wolfram Data Repository (2016)   https://doi.org/10.24097/wolfram.46227.data

Data Resource History

Source Metadata

Data Downloads

Publisher Information