<:> Overview of Copycat



Hofstadter's approach relies on the use of a database of built-in rules rather than examples. (Hofstadter calls them `codelets').

In order to discover an answer to an analogy problem such as abc : abd; iijjkk : ?, codelets work to build up a mapping between the initial string abc and the target string iijjkk, and also between the initial string abc and the modified string abd.

Codelets can also build hierarchical groups within strings. For example, in the string iijjkk, codelets might build the groups ii, jj, and kk, and then a higher-level 'successorship' group comprised of these three groups encompassing the entire string.