The Idiot

Plaintext for Fyodor Dostoevsky's "The Idiot"

(243509 words/1350149 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

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

View the data:

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

Visualization

Show the distribution of sentence lengths:

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

Show the popularity of countries in a text:

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

Wolfram Research, "The Idiot" from the Wolfram Data Repository. (2017) https://doi.org/10.24097/wolfram.35826.data

Source Metadata

Data Downloads

Publisher Information