gnu: Add python-fasttext.

* gnu/packages/machine-learning.scm (python-fasttext): New variable.
This commit is contained in:
Ricardo Wurmus 2023-09-07 21:39:48 +02:00
parent 6d60d7ccba
commit 72745172d1
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -137,6 +137,15 @@ (define-public fasttext
representations and sentence classification.") representations and sentence classification.")
(license license:expat))) (license license:expat)))
(define-public python-fasttext
(package
(inherit fasttext)
(name "python-fasttext")
(build-system pyproject-build-system)
(propagated-inputs (list python-numpy python-scipy))
(inputs (list fasttext))
(native-inputs (list pybind11))))
(define-public fann (define-public fann
;; The last release is >100 commits behind, so we package from git. ;; The last release is >100 commits behind, so we package from git.
(let ((commit "d71d54788bee56ba4cf7522801270152da5209d7")) (let ((commit "d71d54788bee56ba4cf7522801270152da5209d7"))