A Princess of Mars

Plaintext for Edgar Rice Burroughs' "A Princess of Mars"

(67437 words/372178 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["A Princess of Mars"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["A Princess of Mars"], "Paragraph"][[10]]
Out[2]=

Visualization

Show the distribution of word lengths:

In[3]:=
With[{words = TextWords[ResourceData["A Princess of Mars"]]},
 Histogram[(StringLength /@ words), PlotRange -> Full]]
Out[3]=

Show the most frequently used Adjectives:

In[4]:=
TakeLargest[
 Counts[TextCases[ResourceData["A Princess of Mars"], 
   "Adjective"]], 20]
Out[4]=

Wolfram Research, "A Princess of Mars" from the Wolfram Data Repository. (2016) https://doi.org/10.24097/wolfram.35010.data

Source Metadata

Data Downloads