diff mbox series

[bug#39416,06/34] gnu: Add package r-stopwords

Message ID 20200204135626.28261-6-ldb@leibniz-psychology.org
State Accepted
Headers show
Series [bug#39416,01/34] gnu: Add package r-fracdiff | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job

Commit Message

Lars-Dominik Braun Feb. 4, 2020, 1:55 p.m. UTC
* gnu/packages/cran.scm (r-stopwords): New variable.
---
 gnu/packages/cran.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 4bd3be3d0b..4330ebf3d3 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19395,3 +19395,25 @@  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)))