Anagram classifying