def compute_mean_positivity(dico):
    neg_score = 0
    pos_score = 0
    for liste in dico.values():
        for ele in liste:
            if (ele in negative_word_list):
                neg_score += 1
            elif (ele in positive_word_list):
                pos_score += 1
            else:
                pass
    score = ((pos_score - neg_score) / (pos_score + neg_score))
    return score
def compute_mean_positivity(dico):
    neg_score = 0
    pos_score = 0
    for liste in dico.values():
        for ele in liste:
            if (ele in negative_word_list):
                neg_score += 1
            elif (ele in positive_word_list):
                pos_score += 1
            else:
                pass
    score = ((pos_score - neg_score) / (pos_score + neg_score))
    return score