# 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="A very simple framework for state-of-the-art NLP"

HOMEPAGE="https://github.com/flairNLP/flair"
LICENSE="MIT"
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="word-embeddings"
DEPENDENCIES=">=dev-python/boto3-1.20.27[${PYTHON_USEDEP}]
	dev-python/conllu[${PYTHON_USEDEP}]
	>=dev-python/deprecated-1.2.13[${PYTHON_USEDEP}]
	>=dev-python/ftfy-6.1.0[${PYTHON_USEDEP}]
	dev-python/gdown[${PYTHON_USEDEP}]
	dev-python/huggingface-hub[${PYTHON_USEDEP}]
	dev-python/langdetect[${PYTHON_USEDEP}]
	>=dev-python/lxml-4.8.0[${PYTHON_USEDEP}]
	>=dev-python/matplotlib-2.2.3[${PYTHON_USEDEP}]
	>=dev-python/more-itertools-8.13.0[${PYTHON_USEDEP}]
	dev-python/mpld3[${PYTHON_USEDEP}]
	dev-python/pptree[${PYTHON_USEDEP}]
	>=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
	dev-python/pytorch_revgrad[${PYTHON_USEDEP}]
	>=dev-python/regex-2022.1.18[${PYTHON_USEDEP}]
	>=dev-python/scikit-learn-1.0.2[${PYTHON_USEDEP}]
	dev-python/segtok[${PYTHON_USEDEP}]
	>=dev-python/sqlitedict-2.0.0[${PYTHON_USEDEP}]
	>=dev-python/tabulate-0.8.10[${PYTHON_USEDEP}]
	dev-python/torch[${PYTHON_USEDEP}]
	>=dev-python/tqdm-4.63.0[${PYTHON_USEDEP}]
	dev-python/transformer-smaller-training-vocab[${PYTHON_USEDEP}]
	dev-python/transformers[${PYTHON_USEDEP}]
	dev-python/Wikipedia-API[${PYTHON_USEDEP}]
	dev-python/bioc[${PYTHON_USEDEP}]
	word-embeddings? ( dev-python/gensim[${PYTHON_USEDEP}] )
	word-embeddings? ( dev-python/bpemb[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"