Spell correction through Statiscal and Knowledge-based approaches