guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/53: gnu: Add r-topicmodels.


From: guix-commits
Subject: 10/53: gnu: Add r-topicmodels.
Date: Sat, 22 Feb 2020 14:46:07 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit d94d34c4a5ca0b832e2cf140c547253d693fb140
Author: Lars-Dominik Braun <address@hidden>
AuthorDate: Fri Jan 31 17:55:05 2020 +0100

    gnu: Add r-topicmodels.
    
    * gnu/packages/cran.scm (r-topicmodels): New variable.
---
 gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 2e929fc..9a343ba 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19501,3 +19501,32 @@ feature co-occurrences, analyzing keywords, computing 
feature similarities and
 distances, applying content dictionaries, applying supervised and unsupervised
 machine learning, visually representing text and text analyses, and more.")
     (license license:gpl3)))
+
+(define-public r-topicmodels
+  (package
+    (name "r-topicmodels")
+    (version "0.2-9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "topicmodels" version))
+       (sha256
+        (base32
+         "1757r5x8bsl4dk106xg6481mvdkdz9vwg87n7rpbvdkavsvhyxs0"))))
+    (properties `((upstream-name . "topicmodels")))
+    (build-system r-build-system)
+    (native-inputs
+     `(("gsl" ,gsl)))
+    (propagated-inputs
+     `(("r-modeltools" ,r-modeltools)
+       ("r-slam" ,r-slam)
+       ("r-tm" ,r-tm)))
+    (home-page "https://cran.r-project.org/package=topicmodels";)
+    (synopsis "Topic models")
+    (description
+     "This package provides an interface to the C code for @dfn{Latent
+Dirichlet Allocation} (LDA) models and @dfn{Correlated Topics Models} (CTM) by
+David M. Blei and co-authors and the C++ code for fitting LDA models using
+Gibbs sampling by Xuan-Hieu Phan and co-authors.")
+    (license license:gpl2)))
+



reply via email to

[Prev in Thread] Current Thread [Next in Thread]