def shared_voc(mod_a, mod_b):
    """
    Return set of shared vocabulary elements
    """
    voc_a = set(mod_a.wv.vocab.keys())
    voc_b = set(mod_b.wv.vocab.keys())
    return voc_a.intersection(voc_b)