Reference: dictionaryListWordsWithAnagrams
dictionaryListWordsWithAnagrams(0) returns the list of all words in the currently loaded dictionary (see loadDictionary) that have non-trivial anagrams. A non-trivial anagram to a word s is a word, not equal to s, that has the same number of all letters as s, i.e. if it is a permutation of s. It might take a few hours to compile the list.