Chatterbot
A chatterbot is a computer program that responds to input in a natural language. An example is ELIZA.  ELIZA was one of the first chatterbots.  Every year, there is a contest for chatterbots called the Loebner prize.