Introduction to Dependency Parsing

Let's learn about the dependency parser and and how we can use it to the fullest.

What is dependency parsing?

Previously, we focused on POS tags—syntactic categories of words. Though POS tags provide information about neighbor words' tags as well, they do not give away any relations between words that are not neighbors in the given sentence.

In this section, we'll focus on dependency parsing—a more structured way of exploring the sentence syntax. As the name suggests, dependency parsing is related to analyzing sentence structures via dependencies between the tokens. A dependency parser tags syntactic relations between tokens of the sentence and connects syntactically related pairs of tokens. A dependency or a dependency relation is a directed link between two tokens.

The result of the dependency parsing is always a tree, as illustrated in the following diagram:

Get hands-on with 1200+ tech skills courses.