def get_doc_data(gold_summ_docs):
    """
    This function takes in a list of gold summary Document objects
    and returns a dictionary of the data.

    Keys are document object and values are list of tuples of (sent, set of nouns)
    for each sent in the doc. {doc_obj: [(sent_index, sent_noun_set)]
    """

    doc_dict = dict()

    for summary_doc in gold_summ_docs:

        # List to hold (sent_position, sent_noun_set) tuples
        doc_list = []
        
        # Get sentence index and set of nouns for each sentence object
        sent_index = 0
        for sent_obj in summary_doc.sentence_list:
            doc_list.append((sent_index, sent_obj.nouns))
            sent_index += 1

        # Add the list of sentence tuples to the dictionary
        doc_dict[summary_doc] = doc_list

    # Return the dictionary
    return doc_dict