How to use the sense2vec.util.importlib_metadata.version function in sense2vec

To help you get started, we’ve selected a few sense2vec examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github explosion / sense2vec / sense2vec / __init__.py View on Github external
from .sense2vec import Sense2Vec  # noqa: F401
from .component import Sense2VecComponent  # noqa: F401
from .util import importlib_metadata, registry  # noqa: F401

try:
    # This needs to be imported in order for the entry points to be loaded
    from . import prodigy_recipes  # noqa: F401
except ImportError:
    pass

__version__ = importlib_metadata.version(__name__)