Full Text of A New Kind of Science

The full text of Stephen Wolfram’s A New Kind of Science

This resource contains the full text of a New Kind of Science as a single string, as well as an association divided into chapters and sections, notes, and the full text of each page.

(449472 words/2772136 characters)

Examples

Basic Examples

Retrieve the resource:

In[1]:=
ResourceObject["Full Text of A New Kind of Science"]
Out[1]=

Retrieve the default content:

In[2]:=
ResourceData["Full Text of A New Kind of Science"]
Out[2]=

Visualization

Create a word cloud for the book:

In[3]:=
WordCloud[ResourceData["Full Text of A New Kind of Science"]]
Out[3]=

Analysis

Create a word cloud for the first 4 chapters of the book:

In[4]:=
#ChapterNumber ->
   WordCloud@
    StringJoin[
     Riffle[
      #Text & /@ #Sections,
      "\n"
      ]
     ] & /@ 
 Take[ResourceData["Full Text of A New Kind of Science", All][
    "Association"]["Chapters"], 4]
Out[4]=

See how often “rule __” appears in NKS:

In[5]:=
ReverseSort@
 Counts@StringCases[
   ResourceData["Full Text of A New Kind of Science"], 
   "rule " ~~ x : (DigitCharacter ..) :> ToExpression[x]]
Out[5]=

Create a word cloud of rule numbers:

In[6]:=
WordCloud[
 StringCases[ResourceData["Full Text of A New Kind of Science"],
  "rule " ~~ x : (DigitCharacter ..) :> ToExpression[x]]
 ]
Out[6]=

Wolfram Research, "Full Text of A New Kind of Science" from the Wolfram Data Repository. (2017) https://doi.org/10.24097/wolfram.15062.data

Source Metadata

Data Downloads