Pygmalion

Plaintext for George Bernard Shaw's "Pygmalion"

(33624 words/188196 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["Pygmalion"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["Pygmalion"], "Sentence"][[250]]
Out[2]=

Visualization

Generate a WordCloud:

In[3]:=
WordCloud[DeleteStopwords[ResourceData["Pygmalion"]]]
Out[3]=

Show the most frequently used verbs:

In[4]:=
BarChart[TakeLargest[
   Counts[TextCases[ResourceData["Pygmalion"], "Verb"]], 20] // 
  Reverse, BarOrigin -> Left, ChartLabels -> Automatic]
Out[4]=

Wolfram Research, "Pygmalion" from the Wolfram Data Repository. (2016) https://doi.org/10.24097/wolfram.83057.data

Source Metadata

Data Downloads