>From 837228796294044a49b0ecbf823308f98e6d0164 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 31 Jan 2020 16:59:39 +0100 Subject: [v2 08/34] gnu: Add package r-snowballc * 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 8eb595e29d..788601b894 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 @url{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