An AI I once made.
It takes looks into a words meaning and sentence structure to reply and will ask for definitions of words it doesn't know to and how to answer questions of a certain structure.