code: public static CharTrie indexWords(Collection<String> documents, int maxLevels, int minWeight) {
      return create(documents, maxLevels, minWeight, true);
    }
docs: Index words char trie.
  
  @param documents the documents
  @param maxLevels the max levels
  @param minWeight the min weight
  @return the char trie