Wolfram Research

A Hero of Our Time

Plaintext for Mikhail Lermontov's "A Hero of Our Time"

(58729 words/325202 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["A Hero of Our Time"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["A Hero of Our Time"], "Paragraph"][[5]]
Out[2]=

Visualization

Show the distribution of word lengths:

In[3]:=
With[{words = TextWords[ResourceData["A Hero of Our Time"]]},
 Histogram[(StringLength /@ words), PlotRange -> Full]]
Out[3]=

Show the most frequently used adjectives:

In[4]:=
TakeLargest[
 Counts[TextCases[ResourceData["A Hero of Our Time"], "Adjective"]], 20]
Out[4]=

Wolfram Research, "A Hero of Our Time" from the Wolfram Data Repository (2016) https://doi.org/10.24097/wolfram.12878.data

Data Resource History

Source Metadata

Data Downloads

Publisher Information