Wolfram Language

Open live version

Compare Old and Modern English

How do the word lengths of Old English and Modern English compare?


code

X

how it works

This example was live-coded at the Wolfram Research booth at SXSW, March 9, 2014.

Split the original text of Beowulf into words:

In[1]:=
X
Out[1]=

Find the lengths of the words:

In[2]:=
X
Out[2]=

Do the same with a modern translation of Beowulf:

In[3]:=
X
Out[3]=

Compare the word lengths in a histogram. You can see that Modern English has many more short words and Old English more long words:

In[4]:=
X
Out[4]=