From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:55036) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyyhS-0007oI-Qc for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyyhR-0000Pd-ED for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36942) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iyyhR-0000NI-AR for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iyyhR-0008GV-8P for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:09 -0500 Subject: [bug#39416] [PATCH 10/34] gnu: Add package r-topicmodels Resent-Message-ID: From: Lars-Dominik Braun Date: Tue, 4 Feb 2020 14:56:02 +0100 Message-Id: <20200204135626.28261-10-ldb@leibniz-psychology.org> In-Reply-To: <20200204135626.28261-1-ldb@leibniz-psychology.org> References: <20200204135626.28261-1-ldb@leibniz-psychology.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39416@debbugs.gnu.org Cc: Lars-Dominik Braun * gnu/packages/cran.scm (r-topicmodels): New variable. --- gnu/packages/cran.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 917b5df643..9e5006b5f3 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -19513,3 +19513,33 @@ 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 Latent Dirichlet +Allocation (LDA) models and 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))) + -- 2.20.1