WOLFRAM|DEMONSTRATIONS PROJECT

Sequence Alignment of Words

​
word1
unaccustomed
word2
baldfaced
{unaccustomed,baldfaced}
u
-
n
b
a
a
cc
--
ustom
ldfac
ed
ed
Sequence alignment is usually used to analyze DNA sequences. This is an example of applying the same operation to ordinary words. The built-in Mathematica function to do this is called SequenceAlignment and the words come from Mathematica's built-in dictionary.