Concept

A* Heuristic Function for CCG Parsing

In Combinatory Categorial Grammar (CCG) parsing using the A* algorithm, given a sentence S and derivation D that contains supertag sequence T, the probability is: P(D,S) = i=1nlogP(tisi)\sum_{i=1}^n -logP(t_i|s_i). The f-cost of an edge is the sum of two components: g(n), the cost of the span represented by the edge (inside cost), and h(n), the estimate of the cost to complete a derivation containing that edge (outside cost). For h(n) to be admissible, it must approximate but never overestimate the actual cost of the final derivation. A simple heuristic that meets this requirement assumes that each of the words in the outside span will be assigned its most probable supertag.

Image 0

0

1

Updated 2026-06-14

Tags

Data Science