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 a snippet of text:

In[1]:=
Snippet[ResourceData["Full Text of A New Kind of Science"], 10]
Out[1]=

Visualization

Create a word cloud for the book:

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

Analysis

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

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

See how often “rule __” appears in NKS:

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

Create a word cloud of rule numbers:

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

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

Data Resource History

Source Metadata

Data Downloads

Publisher Information