Overview: Semantic Parsing with spaCy

Let's have a look at what we will be learning in this section.

This is a purely hands-on section. We will apply what we have learned hitherto to Airline Travel Information System (ATIS), a well-known airplane ticket reservation system dataset. First of all, we will get to know our dataset and make the basic statistics. As the first natural language understanding (NLU) task, we will extract the named entities with two different methods, with spaCy Matcher, and by walking on the dependency tree.

The next task is to determine the intent of the user utterance. We will explore intent recognition in different ways, too: by extracting the verbs and their direct objects, by using wordlists, and by walking on the dependency tree to recognize multiple intents. Then you will match your keywords to synonyms from a synonyms list to detect semantic similarity.

Also, you'll do keyword matching with word vector-based semantic similarity methods. Finally, we will combine all this information to generate a semantic representation for the dataset utterances.

Get hands-on with 1400+ tech skills courses.