from typing import Dict


def calculate_frequency(lst: list) -> Dict[str, int]:
    """Calculate the frequency from a list."""
    frequencies = {}
    for item in lst:
        if item in frequencies:
            frequencies[item] += 1
        else:
            frequencies[item] = 1

    return frequencies