What is dependency parsing?

Dependency parsing derives a sentence's syntactic structure as a tree of directed, labelled links between words. Each word attaches to at most one other word, its head; the label names the relation, such as subject or object.

Unlike constituency parsing, which splits a sentence into nested phrases, dependency parsing links heads and dependents directly. Turkish phrases can be scrambled freely, which makes constituency grammars hard to build, so Turkish treebanks use the dependency framework.

Topic
Natural language processing and Turkish
Also known as
Dependency analysis
Origin
2008 deterministic incremental parsing framework; 2014 neural parser; Universal Dependencies project

How dependency parsing works

  1. Text is split into words with their parts of speech and morphological features.
  2. Transition-based parsers read left to right, adding links through actions a classifier chooses; linear time makes them fast.
  3. Graph-based parsers predict links and labels with neural classifiers.
  4. Accuracy is reported as unlabelled and labelled attachment scores (UAS and LAS).

Commonly confused terms

TermHow it differs
Part-of-speech taggingPart-of-speech tagging gives each word a category such as noun or verb but does not connect words. Dependency parsing uses that information to build head and dependent relations between words.

Why dependency parsing matters for on-premises AI

Parse trees feed tasks such as relation extraction; a 2009 study found syntactic features especially helpful for ambiguous or lexically distant relations. A 2014 neural parser handled over 1,000 sentences per second at 92.2% unlabelled attachment score on the English Penn Treebank. Universal Dependencies offers over 200 treebanks in over 150 languages; for agglutinative Turkish, the BOUN treebank of 9,761 sentences was the largest in 2020.

ON-PREMISES EXAMPLE

A public body routes citizen petitions with a dependency parser that exposes the requested action and the institution addressed. Trained on Turkish treebanks, the parser runs on the body's own servers, so petitions are not sent to an external AI service.

Common questions

How does dependency parsing differ from constituency parsing?

Constituency parsing splits a sentence into nested phrases. Dependency parsing attaches each word to its head and labels the link with a relation type, which is easier to apply in free word order languages.

What resources exist for Turkish dependency parsing?

Universal Dependencies hosts several Turkish treebanks. The BOUN treebank, introduced in 2020, has 9,761 sentences and is part of an effort to unify the annotation of Turkish treebanks.

Sources

In the glossary: Glossary, A to D

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.