Question d’entretien chez Morgan Stanley

How would you design an autocorrect system ?