# automatically generated by g-sorcery
# please do not edit this file

EAPI=8

REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_11,3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="Top2Vec learns jointly embedded topic, document and word vectors."

HOMEPAGE="https://github.com/ddangelov/Top2Vec"
LICENSE="BSD"
SRC_URI="https://files.pythonhosted.org/packages/source/${REALNAME::1}/${REALNAME}/${REALNAME}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME}-${REALVERSION}.tar.gz"
RESTRICT="test"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="indexing sentence-encoders sentence-transformers"
DEPENDENCIES=">=dev-python/numpy-1.20.0[${PYTHON_USEDEP}]
	dev-python/pandas[${PYTHON_USEDEP}]
	>=dev-python/scikit-learn-1.2.0[${PYTHON_USEDEP}]
	dev-python/gensim[${PYTHON_USEDEP}]
	dev-python/umap-learn[${PYTHON_USEDEP}]
	dev-python/hdbscan[${PYTHON_USEDEP}]
	dev-python/wordcloud[${PYTHON_USEDEP}]
	dev-python/transformers[${PYTHON_USEDEP}]
	dev-python/tqdm[${PYTHON_USEDEP}]
	indexing? ( dev-python/hnswlib[${PYTHON_USEDEP}] )
	sentence-encoders? ( dev-python/tensorflow[${PYTHON_USEDEP}] )
	sentence-encoders? ( dev-python/tensorflow-hub[${PYTHON_USEDEP}] )
	sentence-encoders? ( dev-python/tensorflow-text[${PYTHON_USEDEP}] )
	sentence-transformers? ( dev-python/torch[${PYTHON_USEDEP}] )
	sentence-transformers? ( dev-python/sentence-transformers[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"