Wolfram Data Repository
Immediate Computable Access to Curated Contributed Data
The Code of Hammurabi
(10634 words/53757 characters)
Retrieve the ResourceObject:
| In[1]:= | ![ResourceObject["Code of Hammurabi \[Dash] English"]](https://www.wolframcloud.com/obj/resourcesystem/images/0af/0af38bec-be96-458f-9678-eb1bb43a113e/5dc9cb426e0d5484.png) | 
| Out[1]= |  | 
View the data:
| In[2]:= | ![Snippet[ResourceData["Code of Hammurabi \[Dash] English"], 14]](https://www.wolframcloud.com/obj/resourcesystem/images/0af/0af38bec-be96-458f-9678-eb1bb43a113e/40cb7a66f3a2f046.png) | 
| Out[2]= |  | 
Generate a Word Cloud:
| In[3]:= | ![WordCloud[
 DeleteStopwords[ResourceData["Code of Hammurabi \[Dash] English"]]]](https://www.wolframcloud.com/obj/resourcesystem/images/0af/0af38bec-be96-458f-9678-eb1bb43a113e/651e8a8f0468b74b.png) | 
| Out[3]= |  | 
Compare lengths of sentences:
| In[4]:= | ![With[{sentences = TextSentences[ResourceData["Code of Hammurabi \[Dash] English"]]},
 Histogram[(Length /@ (TextWords /@ sentences)), PlotRange -> Full]]](https://www.wolframcloud.com/obj/resourcesystem/images/0af/0af38bec-be96-458f-9678-eb1bb43a113e/62e824560dba57f8.png) | 
| Out[4]= |  | 
Wolfram Research, "Code of Hammurabi – English" from the Wolfram Data Repository (2015) https://doi.org/10.24097/wolfram.00310.data