Artificial intelligence has a problem with grammar