def get_neighbors(N, word, k):
    """
        Args:
            N (dict[dict]): A dict of dict, storing the neighbours of
            each word with IDB values.
            word (str): The target word whose neighbours are to be
                        fecthed.
            k (int): top `k` neighbours.
        Returns:
            A list of top `k` neighbours for `word`.

    """
    return list(N[word].keys())[1:k+1]