def assign_scores_to_keywords(lemmas, scores, lemmas_to_words):
    """Returns a dictionary with keyword -> score
    This exists because we lemmatized, so we need to assign all keywords for a lemma"""

    keywords_with_scores = {}

    for lemma in lemmas:
        words = lemmas_to_words[lemma]
        for word in words:
            keywords_with_scores[word] = scores[lemma]

    return keywords_with_scores