aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLars-Dominik Braun <ldb@leibniz-psychology.org>2020-01-31 16:57:46 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-02-22 20:42:11 +0100
commit6daed861a6bfef12765a4588a3cd5e83841aaa44 (patch)
tree43b7fd4a456d8c8fa79405feb446261cc19880ed /gnu
parent4f53ac4b9b5f92240fcdf9b3696de580a7647c7e (diff)
downloadpatches-6daed861a6bfef12765a4588a3cd5e83841aaa44.tar
patches-6daed861a6bfef12765a4588a3cd5e83841aaa44.tar.gz
gnu: Add r-stopwords.
* gnu/packages/cran.scm (r-stopwords): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm21
1 files changed, 21 insertions, 0 deletions
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)))