Automatically determining words for updating in a pronunciation dictionary in a speech recognition system