The Moon and Sixpence

Plaintext for W Somerset Maugham's "TThe Moon and Sixpence"

(74944 words/407190 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["The Moon and Sixpence"]
Out[1]=

View the data:

In[2]:=
RandomChoice[
 TextCases[ResourceData["The Moon and Sixpence"], "Paragraph"]]
Out[2]=

Visualization

Show the distribution of word lengths:

In[3]:=
With[{words = TextWords[ResourceData["The Moon and Sixpence"]]},
 Histogram[(StringLength /@ words), PlotRange -> Full]]
Out[3]=

Diagram a sentence:

In[4]:=
Column[{#, TextStructure[#, "ConstituentGraph"]}] &[
 RandomChoice[TextSentences[ResourceData["The Moon and Sixpence"]]]]
Out[4]=

Wolfram Research, "The Moon and Sixpence" from the Wolfram Data Repository (2016)   https://doi.org/10.24097/wolfram.28238.data

Data Resource History

Source Metadata

Data Downloads

Publisher Information