The Monk

Plaintext for Matthew Gregory Lewis' "The Monk"

(137023 words/793256 characters)

Examples

Basic Examples

View the text:

In[1]:=
TextCases[ResourceData["The Monk"], "Paragraph"][[25]]
Out[1]=

Visualization

Show the distribution of sentence lengths:

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

Show the popularity of countries in a text:

In[3]:=
BarChart[
 TakeLargest[
   Counts[Interpreter["Country"][
     ToLowerCase /@ TextCases[ResourceData["The Monk"], "Country"]]], 6] // Reverse, BarOrigin -> Left, ChartLabels -> Automatic]
Out[3]=

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

Data Resource History

Source Metadata

Data Downloads

Publisher Information