Anagram pipeline