def sentiments_from_adjectives(adjective_counts, sentiment_dict):
    """Build the weighted average sentiment score from a list of adjetives and their counts.

    :param adjective_counts: list of tuples with adjectives and their counts
    :type adjective_counts: [(str,int)]
    :param sentiment_dict: dictionary with adjectives and their sentiment, as tuple of compound and binary sentiment
    :type sentiment_dict: dict
    :return: a tuple of the weighted averages of compound and binary sentiment
    :rtype: (float,float)
    """
    cumulative_sentimenent_compound = 0
    cumulative_sentimenent_binary = 0
    for adjective, count in adjective_counts:
        cumulative_sentimenent_compound = (
            cumulative_sentimenent_compound + sentiment_dict[adjective][0] * count
        )
        cumulative_sentimenent_binary = (
            cumulative_sentimenent_binary + sentiment_dict[adjective][1] * count
        )

    total = sum(list(zip(*adjective_counts))[1])
    sentimentscore_compound = cumulative_sentimenent_compound / total
    sentimentscore_binary = cumulative_sentimenent_binary / total

    return (sentimentscore_compound, sentimentscore_binary)