dependency-vs-constituency-parsing
IN premise — entries/2026/06/21/wiki-Natural_language_processing-chunk-2.md
Created 2026-06-21T09:50:10+00:00
Dependency parsing maps word-to-word relationships (subject, object); constituency parsing builds hierarchical phrase-structure trees using probabilistic context-free grammars (PCFGs)
Summary
Dependency parsing identifies which word controls which (subject acts on object), while constituency parsing groups words into nested phrases like noun phrases and verb phrases based on grammar rules. This distinction matters because downstream tasks such as information extraction and question answering depend on one representation or the other, and confusing the two leads to incorrect inferences about sentence structure and meaning.