Subject: [bug#39416] [PATCH 08/34] gnu: Add package r-snowballc

From: Lars-Dominik Braun <[email-masked]>
Date: Tue, 4 Feb 2020 14:56:00 +0100

* gnu/packages/cran.scm (r-snowballc): New variable.
---
 gnu/packages/cran.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 819aed90e4..235f7d3ab3 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19440,3 +19440,28 @@ analysis and natural language processing.")
       "An R wrapper to the Python @code{spaCy} NLP library, from
 <http://spacy.io>.")
     (license license:gpl3)))
+
+(define-public r-snowballc
+  (package
+    (name "r-snowballc")
+    (version "0.6.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "SnowballC" version))
+        (sha256
+          (base32
+            "0b7pqdavf5jbf8si4ybnii5fff39p3b1rb5rym05j8s48hs7sqb1"))))
+    (properties `((upstream-name . "SnowballC")))
+    (build-system r-build-system)
+    (home-page
+      "https://r-forge.r-project.org/projects/r-temis/")
+    (synopsis
+      "Snowball Stemmers Based on the C 'libstemmer' UTF-8 Library")
+    (description
+      "An R interface to the C @code{libstemmer} library that implements Porter's
+word stemming algorithm for collapsing words to a common root to aid comparison
+of vocabulary.  Currently supported languages are Danish, Dutch, English,
+Finnish, French, German, Hungarian, Italian, Norwegian, Portuguese, Romanian,
+Russian, Spanish, Swedish and Turkish.")
+    (license license:bsd-3)))
-- 
2.20.1