When Knighthood Was in Flower

Plaintext for Charles Major's "When Knighthood Was in Flower"

(92668 words/495129 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["When Knighthood Was in Flower"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["When Knighthood Was in Flower"], 
  "Paragraph"][[50]]
Out[2]=

Visualization

Show the most frequently used adjectives:

In[3]:=
BarChart[TakeLargest[
   Counts[TextCases[ResourceData["When Knighthood Was in Flower"], 
     "Adjective"]], 20] // Reverse, BarOrigin -> Left, 
 ChartLabels -> Automatic]
Out[3]=

Show the distribution of sentence lengths:

In[4]:=
With[{sentences = 
   TextSentences[ResourceData["When Knighthood Was in Flower"]]},
 Histogram[(Length /@ (TextWords /@ sentences)), PlotRange -> Full]]
Out[4]=

Wolfram Research, "When Knighthood Was in Flower" from the Wolfram Data Repository. (2016) https://doi.org/10.24097/wolfram.73787.data

Source Metadata

Data Downloads