Spell correction for BES