A machine which quotes Confucius