Selecting correct spelling in context