Relation

Heuristic Functions

Given a sentence S and derivation D that contains supertag sequence T, we have: 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, and h(n), the estimate of the cost to complete a derivation containing that edge (these are often referred to as the inside and outside costs). For h(n), we need a score that approximates but never overestimates 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. Putting this all together, we arrive at the following definition of a suitable f-cost for an edge.

Image 0

0

1

Updated 2022-01-16

Tags

Data Science