dictionaryByOccurrences and wordAnagrams