From 982a9fb6c64255205fb7e8c358f47f30f43710cf Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 31 Jan 2020 16:58:57 +0100 Subject: gnu: Add r-spacyr. * gnu/packages/cran.scm (r-spacyr): New variable. --- gnu/packages/cran.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/cran.scm') 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))) -- cgit v1.2.3