from typing import Counter


def get_words(texts):
    """
    Construct a word counter from words.
    """
    word_counter = Counter()
    for t in texts:
        word_counter.update(t)
    return word_counter