On the Nature of Things

On the Nature of Things, by Lucretius

(74053 words/416963 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["On the Nature of Things"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["On the Nature of Things"], "Sentence"][[100]]
Out[2]=

Visualization

Compare noun usage:

In[3]:=
BarChart[TakeLargest[
   Counts[TextCases[ResourceData["On the Nature of Things"], "Noun"]],
    20] // Reverse, BarOrigin -> Left, ChartLabels -> Automatic]
Out[3]=

Find distribution of sentence lengths:

In[4]:=
With[{sentences = 
   TextSentences[ResourceData["On the Nature of Things"]]},
 Histogram[(Length /@ (TextWords /@ sentences)), PlotRange -> Full]]
Out[4]=

Wolfram Research, "On the Nature of Things" from the Wolfram Data Repository. (2015) https://doi.org/10.24097/wolfram.02888.data

Source Metadata

Data Downloads