A Study in Scarlet

Plaintext for Arthur Conan Doyle's "A Study in Scarlet"

(43378 words/239224 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["A Study in Scarlet"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["A Study in Scarlet"], "Paragraph"][[30]]
Out[2]=

Visualization

Generate a WordCloud:

In[3]:=
WordCloud[DeleteStopwords[ResourceData["A Study in Scarlet"]]]
Out[3]=

Show the most frequently used of proper nouns:

In[4]:=
BarChart[TakeLargest[
   Counts[TextCases[ResourceData["A Study in Scarlet"], 
     "ProperNoun"]], 20] // Reverse, BarOrigin -> Left, 
 ChartLabels -> Automatic]
Out[4]=

Wolfram Research, "A Study in Scarlet" from the Wolfram Data Repository. (2016) https://doi.org/10.24097/wolfram.90845.data

Source Metadata

Data Downloads