def _build_summary_2(sentences, all_sents, sents_to_add):
    """
        Auxillary function for summary building. Builds the full and keyword-only summary.
        Arguments:
            `sents_to_add`  A list of sentence indices to add to the summary
            `all_sents`     All sentences from the original document
            `sentences`     A list of keyword-only sentences in the original document
        Returns a tuple containing:
            - The generated summary in text form
            - A keywords-only version of the generated summary
    """
    summary = ''
    keyword_summary = ''
    for sent_idx in sorted(sents_to_add):
        keyword_sent = ' '.join(word for word in sentences[sent_idx])
        full_sent = all_sents[sent_idx].text
        keyword_summary += keyword_sent + '\n'
        summary += full_sent + '\n'
    return summary, keyword_summary