Anagram synthesis