diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-06-29 12:27:54 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-06-29 12:28:44 +0200 |
commit | 05238ae30e361e0ed391b467a28c2c467050c4f0 (patch) | |
tree | d0cd0d8f903062e4da4fb1f8ae0da08c8d27383c | |
parent | 1e9f4a86a762b83a549af4e80c1a5c8573b8474b (diff) | |
download | guix-05238ae30e361e0ed391b467a28c2c467050c4f0.tar.gz |
gnu: Add r-text2vec.
* gnu/packages/cran.scm (r-text2vec): New variable.
-rw-r--r-- | gnu/packages/cran.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index fb62558b57..0ad05cf0df 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -17896,6 +17896,42 @@ products and native slicing of the sparse matrices in @dfn{Compressed Sparse Row} (CSR) format.") (license license:gpl2+))) +(define-public r-text2vec + (package + (name "r-text2vec") + (version "0.6") + (source + (origin + (method url-fetch) + (uri (cran-uri "text2vec" version)) + (sha256 + (base32 + "0r75cv77x2zm1z66s95hic71dpbqmybz39n48q6mz7gfd3m7312y")))) + (properties `((upstream-name . "text2vec"))) + (build-system r-build-system) + (propagated-inputs + `(("r-data-table" ,r-data-table) + ("r-digest" ,r-digest) + ("r-lgr" ,r-lgr) + ("r-matrix" ,r-matrix) + ("r-mlapi" ,r-mlapi) + ("r-r6" ,r-r6) + ("r-rcpp" ,r-rcpp) + ("r-rsparse" ,r-rsparse) + ("r-stringi" ,r-stringi))) + (native-inputs + `(("r-knitr" ,r-knitr))) + (home-page "http://text2vec.org") + (synopsis "Text mining framework for R") + (description + "This package provides fast and memory-friendly tools for text +vectorization, topic modeling (LDA, LSA), word embeddings (GloVe), +similarities. It provides a source-agnostic streaming API, which allows +researchers to perform analysis of collections of documents which are larger +than available RAM. All core functions are parallelized to benefit from +multicore machines.") + (license license:gpl2+))) + (define-public r-xmlparsedata (package (name "r-xmlparsedata") |