summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-09-03 12:45:18 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-09-03 12:46:01 +0200
commitf785d546819734d224f4c7a9421eca8e902b27bf (patch)
tree730fd3cae3611291f7a3c07ee8e1fee2ec0ccac5 /gnu/packages/cran.scm
parent53bd3ab3890e45de6e03ffd48053f0b99e3a2b42 (diff)
downloadguix-f785d546819734d224f4c7a9421eca8e902b27bf.tar.gz
gnu: Add r-tm.
* gnu/packages/cran.scm (r-tm): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 8366b48bff..dd378d2b9c 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -9345,6 +9345,31 @@ in-memory raw vectors.")
 Processing.")
     (license license:gpl3)))
 
+(define-public r-tm
+  (package
+    (name "r-tm")
+    (version "0.7-6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "tm" version))
+       (sha256
+        (base32
+         "0spv43kjbpxq3rdxx8ysgrncjyc35ydiwk7gp8n4sig45iqyz59r"))))
+    (properties `((upstream-name . "tm")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-bh" ,r-bh)
+       ("r-nlp" ,r-nlp)
+       ("r-rcpp" ,r-rcpp)
+       ("r-slam" ,r-slam)
+       ("r-xml2" ,r-xml2)))
+    (home-page "http://tm.r-forge.r-project.org/")
+    (synopsis "Text mining package")
+    (description
+     "This package provides a framework for text mining applications within R.")
+    (license license:gpl3)))
+
 (define-public r-waveslim
   (package
     (name "r-waveslim")