Declaration of Independence

The Declaration of Independence of The United States of America, by Thomas Jefferson

(1443 words/8968 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["Declaration of Independence"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["Declaration of Independence"], 
  "Paragraph"][[30]]
Out[2]=

Visualization

Create a word cloud:

In[3]:=
WordCloud[
 DeleteStopwords[ResourceData["Declaration of Independence"]]]
Out[3]=

Show the distribution of sentence lengths:

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

Wolfram Research, "Declaration of Independence" from the Wolfram Data Repository. (2015) https://doi.org/10.24097/wolfram.00261.data

Source Metadata

Data Downloads