We exploit properties of the stupid-backoff language model to construct an
efficient admissible heuristic. Let
![]() |
The heuristic
can be computed efficiently for each state, since the
quantity
can be computed once, before A
search begins. While
computing
, although there are
possible permutations
, we need only consider permutations for which n-gram counts exist; that
is,
can be computed by scanning the list of n-grams used to construct our
language model.