def conv_freqs(freq_dist, n_words):
    """Convert a Counter object into a dictionary.

    Parameters
    ----------
    freq_dist : collections.Counter
        Frequency distribution of words.
    n_words : int
        Number of words to extract.

    Returns
    -------
    dict
        Words with their corresponding frequencies.
    """

    return dict(freq_dist.most_common(n_words))