From 53c7162174d5fdbe76968809b4ecff20a8327e6b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 13 Jun 2023 14:46:21 +0200 Subject: gnu: Add r-word2vec. * gnu/packages/cran.scm (r-word2vec): New variable. --- gnu/packages/cran.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 89af513c8b..006763ecf7 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -17215,6 +17215,29 @@ (define-public r-waveslim pairs (Selesnick 2001, 2002).") (license license:bsd-3))) +(define-public r-word2vec + (package + (name "r-word2vec") + (version "0.3.4") + (source (origin + (method url-fetch) + (uri (cran-uri "word2vec" version)) + (sha256 + (base32 + "0qj39vms6zgwb8lpmfkppayizdmhakic3pkacglary3ain61vnsk")))) + (properties `((upstream-name . "word2vec"))) + (build-system r-build-system) + (propagated-inputs (list r-rcpp r-rcppprogress)) + (home-page "https://github.com/bnosac/word2vec") + (synopsis "Distributed representations of words") + (description + "Learn vector representations of words by continuous bag of words and +skip-gram implementations of the word2vec algorithm. The techniques are +detailed in the paper \"Distributed Representations of Words and Phrases and +their Compositionality\" by Mikolov et al. (2013), available at +.") + (license license:asl2.0))) + (define-public r-wordcloud (package (name "r-wordcloud") -- cgit v1.2.3