aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-09-07 21:39:48 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-09-07 21:39:48 +0200
commit72745172d155e489936f694d6b9013cb76272370 (patch)
tree6387ec32c55877e1e1aa2721926dfbcecb58e59d /gnu
parent6d60d7ccba5a8e06c17d55a1772fa7f4529b5eff (diff)
downloadguix-72745172d155e489936f694d6b9013cb76272370.tar.gz
guix-72745172d155e489936f694d6b9013cb76272370.zip
gnu: Add python-fasttext.
* gnu/packages/machine-learning.scm (python-fasttext): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/machine-learning.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 598c97be5f..f169d8895e 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -137,6 +137,15 @@
representations and sentence classification.")
(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
;; The last release is >100 commits behind, so we package from git.
(let ((commit "d71d54788bee56ba4cf7522801270152da5209d7"))