public WordList getCombinedWordList(final DocRef dictionaryRef,
                                        final DocRefDecorator docRefDecorator,
                                        final boolean deDup) {
        final Builder builder = WordList.builder(deDup);
        final Set<DocRef> visited = new HashSet<>();
        final Stack<DocRef> visitPath = new Stack<>();

        doGetCombinedWordList(docRefDecorator, builder, dictionaryRef, visited, visitPath);

        final WordList wordList = builder.build();

        LOGGER.debug(() -> LogUtil.message("Returning wordList with {} 'words' and {} sources.",
                wordList.size(), wordList.sourceCount()));

        return wordList;
    }
//     * Ensure all the imports have the correct names. Modifies the import list.
//
stroom-dictionary/stroom-dictionary-impl/src/main/java/stroom/dictionary/impl/DictionaryStoreImpl.java