It sounds good, except that there’s no results for “screechings” or “only cure” in the books, and Ron doesn’t encounter Voldemort in Goblet, only Harry and Cedric do.
Again, it has no semantic comprehension, it doesn’t know that certain strings of words are valid in certain contexts because they refer to actual events, objects, or concepts, it’s just putting letters together.
Probably some of its training material included Harry Potter fan fiction or other non-canon stuff, and that’s why it said what it said.