From 6daed861a6bfef12765a4588a3cd5e83841aaa44 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 31 Jan 2020 16:57:46 +0100 Subject: gnu: Add r-stopwords. * gnu/packages/cran.scm (r-stopwords): New variable. --- gnu/packages/cran.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 638be689cb..bfd71600d4 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -19387,3 +19387,24 @@ character codes. It provides ISO 639 language codes, ISO 3166 territory codes, ISO 4217 currency codes, ISO 15924 script codes, and the ISO 8859 character codes as well as the UN M.49 area codes.") (license license:gpl2))) + +(define-public r-stopwords + (package + (name "r-stopwords") + (version "1.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "stopwords" version)) + (sha256 + (base32 + "1nmi0bpd0c238g5b8ch1v034m5ng9llhs519cgxdrj3sh9fplwlv")))) + (properties `((upstream-name . "stopwords"))) + (build-system r-build-system) + (propagated-inputs `(("r-isocodes" ,r-isocodes))) + (home-page "https://github.com/quanteda/stopwords") + (synopsis "Multilingual stopword lists") + (description + "This package provides multiple sources of stopwords, for use in text +analysis and natural language processing.") + (license license:expat))) -- cgit v1.2.3