def get_model_vocabulary(model):
    """ Return the stored vocabulary for an embedding model
    Args:
        model (gensim.models) KeyedVectors or Word2Vec model.
    """
    return set(model.vocab.keys())