diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-09-07 21:39:41 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-09-07 21:39:41 +0200 |
commit | 6d60d7ccba5a8e06c17d55a1772fa7f4529b5eff (patch) | |
tree | 8bcf6e171df2525fc888fe38764b195ad0f2405d /gnu | |
parent | 451ba2e5bb523c18a2ccc941df47b598c48ef57e (diff) | |
download | guix-6d60d7ccba5a8e06c17d55a1772fa7f4529b5eff.tar.gz guix-6d60d7ccba5a8e06c17d55a1772fa7f4529b5eff.zip |
gnu: Add fasttext.
* gnu/packages/machine-learning.scm (fasttext): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/machine-learning.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 712abe9aff..598c97be5f 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -115,6 +115,28 @@ #:use-module (gnu packages xorg) #:use-module (ice-9 match)) +(define-public fasttext + (package + (name "fasttext") + (version "0.9.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/facebookresearch/fastText") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "07cz2ghfq6amcljaxpdr5chbd64ph513y8zqmibfx2xwfp74xkhn")))) + (build-system cmake-build-system) + ;; Tests require downloading of test data. + (arguments (list #:tests? #false)) + (home-page "https://github.com/facebookresearch/fastText") + (synopsis "Library for fast text representation and classification") + (description "fastText is a library for efficient learning of word +representations and sentence classification.") + (license license:expat))) + (define-public fann ;; The last release is >100 commits behind, so we package from git. (let ((commit "d71d54788bee56ba4cf7522801270152da5209d7")) |