Anagram purifier