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
- Text is split into words with their parts of speech and morphological features.
- Transition-based parsers read left to right, adding links through actions a classifier chooses; linear time makes them fast.
- Graph-based parsers predict links and labels with neural classifiers.
- Accuracy is reported as unlabelled and labelled attachment scores (UAS and LAS).
Commonly confused terms
| Term | How it differs |
|---|---|
| Part-of-speech tagging | Part-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.
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.
Related terms
- Part-of-speech tagging
- AI morphological analysis
- AI agglutinative language
- Natural language processing (NLP)
- Relation extraction
Sources
- Algorithms for Deterministic Incremental Dependency Parsing, Computational Linguistics, 2008
- A Fast and Accurate Dependency Parser using Neural Networks, EMNLP, 2014
- Resources for Turkish Dependency Parsing: Introducing the BOUN Treebank and the BoAT Annotation Tool, arXiv, 2020
- Universal Dependencies v2: An Evergrowing Multilingual Treebank Collection, LREC, 2020
In the glossary: Glossary, A to D