A Room with a View

Plaintext for E. M. Forster's "A Room with a View"

(67165 words/375583 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["A Room with a View"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["A Room with a View"], "Paragraph"][[50]]
Out[2]=

Visualization

Show the distribution of sentence lengths:

In[3]:=
With[{sentences = TextSentences[ResourceData["A Room with a View"]]},
 Histogram[(Length /@ (TextWords /@ sentences)), PlotRange -> Full]]
Out[3]=

Show the most frequently used proper nouns in the text:

In[4]:=
TakeLargest[
 Counts[TextCases[ResourceData["A Room with a View"], 
   "ProperNoun"]], 20]
Out[4]=

Wolfram Research, "A Room with a View" from the Wolfram Data Repository. (2016) https://doi.org/10.24097/wolfram.07381.data

Source Metadata

Data Downloads