You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, for an input of "ABAB" and a word list of ["AB","BA"], the vector set {{A:1,B:1},{A:1,B:1}} is correctly generated by _find_anagram_vecs().
_expand_anagram_vecs() then maps this to four anagrams:
AB AB
AB BA
BA AB
BA BA
2 and 3 are equivalent. _expand_anagram_vecs() should be fixed to stop generating such duplicates.
The text was updated successfully, but these errors were encountered:
For example, for an input of "ABAB" and a word list of ["AB","BA"], the vector set {{A:1,B:1},{A:1,B:1}} is correctly generated by _find_anagram_vecs().
_expand_anagram_vecs() then maps this to four anagrams:
2 and 3 are equivalent. _expand_anagram_vecs() should be fixed to stop generating such duplicates.
The text was updated successfully, but these errors were encountered: