Introduction
Combinatory Categorial Grammar (CCG) is a powerful linguistic formalism because it is "lexicalized"—nearly all grammatical information is stored in the words themselves as "categories." This makes CCG excellent for deep semantic tasks like question answering and logical inference. However, building a CCG "treebank" (a large collection of annotated sentences) is notoriously difficult and expensive, historically requiring hand-crafted annotations for specific languages.
Researchers from the University of Tokyo have developed a universal algorithm to automatically convert Universal Dependencies (UD) treebanks into CCG treebanks. By leveraging the cross-linguistic consistency of UD, they successfully generated CCG resources for 59 languages, providing a massive boost for multilingual syntactic and semantic parsing.
The Conversion Pipeline
The authors propose a two-phase algorithm designed to be "universal," minimizing the need for language-specific rules. This pipeline transforms dependency structures into the binary-branching derivations required by CCG.
Phase 1: Structural Binarization and Initial Assignment
- Binarization: CCG requires binary branching trees, but dependency trees are often "flat." The authors use an obliqueness hierarchy (ranking relations like
obj>advmod>nsubj) to decide the order in which words should combine. A position-based condition ensures that only adjacent words combine, preventing invalid structures. - Category Assignment: Hand-crafted rules assign initial CCG categories to noun phrases, modifiers, and function words.
- Inference: Standard CCG combinatory rules are used to "fill in the blanks" for categories that weren't explicitly assigned.
Phase 2: Refinement via Majority Voting
- Majority Voting: To determine the "slash direction" (whether a word looks to its left or right for an argument), the algorithm analyzes the most frequent patterns in the entire treebank. This allows it to statistically determine if a language is SVO or SOV without manual coding.
- Predicate Reassignment: Using the majority-voted word order, the algorithm corrects categories for predicates, especially in complex cases like long-distance dependencies (e.g., relative clauses).
- Parser-in-the-loop: A non-statistical CCG parser generates candidate parses, which are then filtered to find the one that best matches the original UD structure.
Datasets and Key Results
The study utilizes Universal Dependencies (UD) v2.9, testing the algorithm on 101 treebanks across 59 languages. Deep-dive evaluations were performed on 21 languages, including English, Japanese, Vietnamese, Italian, and Chinese.
- High Conversion Rates: The algorithm successfully converted over 80% of sentences in 62 out of the 101 treebanks.
- Strong Lexical Coverage: Resulting lexicons achieved over 90% coverage on unseen data for 79 treebanks, suggesting high generalizability.
- Parsing Viability: Training an off-the-shelf CCG parser (
depccg) on the converted data yielded over 80% unlabelled PARSEVAL F1 scores on most tested treebanks, proving the data is high-quality enough for practical use.
Insights and Limitations
The paper demonstrates that word order can be treated as a statistical property rather than a hard-coded rule. By targeting the UD framework, the authors created a robust "one-size-fits-most" tool that overcomes the data bottleneck for low-resource languages.
However, challenges remain. The algorithm struggles with non-projective trees (crossing arcs) and ellipsis (omitted predicates). Future work aims to integrate "Enhanced UD" to improve precision in complex constructions like coordination and yes-no questions.
Summary updated