The Turn of the Screw

Plaintext for Henry James's "The Turn of the Screw"

(42761 words/228563 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["The Turn of the Screw"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["The Turn of the Screw"], "Paragraph"][[50]]
Out[2]=

Visualization

Show the distribution of sentence lengths:

In[3]:=
With[{sentences = 
   TextSentences[ResourceData["The Turn of the Screw"]]},
 Histogram[(Length /@ (TextWords /@ sentences)), PlotRange -> Full]]
Out[3]=

Generate a WordCloud:

In[4]:=
WordCloud[DeleteStopwords[ResourceData["The Turn of the Screw"]]]
Out[4]=

Wolfram Research, "The Turn of the Screw" from the Wolfram Data Repository. (2016) https://doi.org/10.24097/wolfram.86910.data

Source Metadata

Data Downloads