Contents
Context
Linguistics
Linguistics
General
Philosophy of Language
Pragmatics?
Concepts
People
Contents
Idea
Dependency grammars are a kind of formal grammars based on the notion of dependency graph, rather than constituency trees. The first mathematical definitions are from Hays (1960) and Gaifman (1965).
Definition
A dependency grammar is a tuple where and are finite sets of terminal and non-terminal symbols with the start symbol and a finite set of rules which have one of the following shapes:
- . The interpretation of a rule is that a word of type can govern words of type on its left and on its right. We say that and are the left and right dependencies of the head of type .
- . The interpretation of a rule is that the word can be given type . These correspond to the dictionary entries in a categorial grammar.
- . The interpretation of a rule is that a word of type can be the head of a grammatical sentence.
The language of a dependency grammar is defined as follows. A string is grammatical if there are types , a binary relation for with reflexive transitive closure such that:
- for all , i.e. words are appropriately typed,
- , i.e. does not contain cycles,
- for all , there is at most one with , i.e. every word depends on at most one head,
- if and () then (), i.e. the dependency is a planar graph,
- is connected, or equivalently, there is exactly one head which doesn’t depend on anything, furthermore we have ,
- for every , we have for and its left and right dependencies.
Drawing conventions
The conventions on how to depict such a dependency relation vary:
As string diagrams
We can reformulate the original definition in terms of the free rigid monoidal category generated by the symbols as objects and the rules as arrows. Then the convention (e.) where dependencies are represented as arcs is precisely a string diagram with the terminal symbols as domain and the start symbol as codomain.
Expressive power
Dependency grammars have equivalent expressive power to that of context free grammar and pregroup grammar.
We can translate a dependency rule into a set of production rules for a context free grammar. Dependency grammars are precisely the context-free grammars with exactly one terminal symbol in the right hand-side of each production rule.
We can also translate a dependency rule into a set of dictionary entries for a pregroup grammar.
However going in the other direction, i.e. from pregroup or context free to dependency grammar, the equivalence is weak: it preserves the set of grammatical strings but not their grammatical structure.
References
- Hays, David. Grouping and dependency theories. RAND CORP (1960)
- Gaifman, Haim. Dependency systems and phrase-structure systems. Information and control 8.3 (1965)
- Kruijff, Geert-Jan M. Dependency grammar. Encyclopedia of Language and Linguistics, (2006)