Anagram emendation