summaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorLars-Dominik Braun <ldb@leibniz-psychology.org>2020-01-31 16:58:57 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-02-22 20:42:11 +0100
commit982a9fb6c64255205fb7e8c358f47f30f43710cf (patch)
tree8f2ffbd7136ab2f05759319446a361918410c38f /gnu/packages/cran.scm
parent6daed861a6bfef12765a4588a3cd5e83841aaa44 (diff)
gnu: Add r-spacyr.
* gnu/packages/cran.scm (r-spacyr): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index bfd71600d4..6bcc38c791 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19408,3 +19408,26 @@ character codes as well as the UN M.49 area codes.")
"This package provides multiple sources of stopwords, for use in text
analysis and natural language processing.")
(license license:expat)))
+
+(define-public r-spacyr
+ (package
+ (name "r-spacyr")
+ (version "1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "spacyr" version))
+ (sha256
+ (base32
+ "1xsiz6zx89vs6ykrkkp011d8fz4ksdgnf5nyaq5ynjr6zv865vks"))))
+ (properties `((upstream-name . "spacyr")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-data-table" ,r-data-table)
+ ("r-reticulate" ,r-reticulate)))
+ (home-page "https://spacyr.quanteda.io")
+ (synopsis "R wrapper for the spaCy NLP library")
+ (description
+ "This package provides an R wrapper to the Python @dfn{natural language
+processing} (NLP) library @code{spaCy}, from @url{http://spacy.io}.")
+ (license license:gpl3)))