Since a spelling correction model needs to rank candidate words rather than candidate pronunciations, <cite>Toutanova and Moore (2002)</cite> derive an error model that determines the probability that a word w was spelled as the non-word r based on their pronunciations.