summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-03-22 14:22:28 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-03-22 14:27:17 +0100
commitdd4670d40d59c058e140c32d92085f6d02b1cadb (patch)
tree038642e718a6688d0ffcc81f9cd0c5c10da449e1 /gnu
parent0ff888108a6afce6965a445960087ab6b1c79f2a (diff)
downloadguix-dd4670d40d59c058e140c32d92085f6d02b1cadb.tar.gz
gnu: Add r-lsa.
* gnu/packages/cran.scm (r-lsa): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 5617383cbc..b9842ca954 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -26204,6 +26204,32 @@ statistical analysis that share the underlying design philosophy, grammar, and
 data structures of the tidyverse.")
     (license license:gpl3)))
 
+(define-public r-lsa
+  (package
+    (name "r-lsa")
+    (version "0.73.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "lsa" version))
+       (sha256
+        (base32
+         "1a33irqa6qvbc02z12rgbgv8kxq2gmahy7j5bg8b23lvvaxif06b"))))
+    (properties `((upstream-name . "lsa")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-snowballc" ,r-snowballc)))
+    (home-page "https://cran.r-project.org/package=lsa")
+    (synopsis "Latent semantic analysis")
+    (description
+     "The basic idea of latent semantic analysis (LSA) is, that text do have a
+higher order (=latent semantic) structure which, however, is obscured by word
+usage (e.g. through the use of synonyms or polysemy).  By using conceptual
+indices that are derived statistically via a truncated singular value
+decomposition (a two-mode factor analysis) over a given document-term matrix,
+this variability problem can be overcome.")
+    (license license:gpl2+)))
+
 (define-public r-mlecens
   (package
     (name "r-mlecens")