This is a FAQ: site:answers.yahoo.com cleverbot how does
Cleverbot uses string metrics, a technique called “string similarity” (see String metrics). Cleverbot creator, Rollo Carpenter, discusses his work in a series of videos entitled “Learning Creating Phrasing” => ALICE AI Foundation.