1

Suppose I have a dictionary of words, {'cat', 'cot', 'catalyst'}, and a character similarity relation f(x, y)
f(x, y) = 1, if x and y are similar
= 0, otherwise
These "similarities" can be specified by the programmer.
such that, say,
f('t', 'l') = 1
f('a', 'o') = 1
f('f', 't') = 1
...