def get_most_popular_annotations(ambiguous_entity, k=2):
    """
    Get k most popular annotations for ambiguous_entity.
    """
    freq = [(key, len(value)) for key, value in ambiguous_entity.annotated_corpus.items()]
    freq = sorted(freq, key=lambda x: x[1], reverse=True)
    return [x[0] for x in freq[:k]]