[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: Add python-fasttext.
From: |
guix-commits |
Subject: |
02/02: gnu: Add python-fasttext. |
Date: |
Thu, 7 Sep 2023 16:31:41 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 72745172d155e489936f694d6b9013cb76272370
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Sep 7 21:39:48 2023 +0200
gnu: Add python-fasttext.
* gnu/packages/machine-learning.scm (python-fasttext): New variable.
---
gnu/packages/machine-learning.scm | 9 +++++++++
1 file changed, 9 insertions(+)
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"))