parameters: (modules: List[Module])
return_statement: return items
docstring: Generates a dictionary using every skill in every module that is
      passed in the argument
docstring_summary: Generates a dictionary using every skill in every module that is
      passed in the argument
docstring_tokens: Generates a dictionary using every skill in every module that is passed in the argument
function: def _load_dictionary(modules: List[Module]) -> list:
      """
      Generates a dictionary using every skill in every module that is
      passed in the argument
      """
      items = []
      for key, definition in _get_merged_dictionary_items(modules):
          word, is_in_target_language = key
          items.append(
              DictionaryItem(
                  word=word,
                  definition="\n".join(sorted(definition)),
                  is_in_target_language=is_in_target_language,
              )
          )
      return items
function_tokens: def _load_dictionary ( modules : List [ Module ] ) -> list : items = [ ] for key , definition in _get_merged_dictionary_items ( modules ) : word , is_in_target_language = key items . append ( DictionaryItem ( word = word , definition = "\n" . join ( sorted ( definition ) ) , is_in_target_language = is_in_target_language , ) ) return items