Summary

We now have a way to generate questions and answers. What were you going to ask the user? Can you match our answers against the user's answers?

Sure, an exact match is perfect. But we should also be looking for meaning matches, for example, cake with pastry, or honesty with truthfulness.

We could use a synonym dictionary but how do we extend this into sentences and documents?

In the next chapter, we will answer all of these questions using text representations.

Get Natural Language Processing with Python Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.