aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <ldb@leibniz-psychology.org>2021-03-15 09:36:14 +0100
committerLars-Dominik Braun <ldb@leibniz-psychology.org>2021-03-15 10:53:00 +0100
commitc3a1373c15908b347cc580abf8522693d21923bb (patch)
tree054902b1374233a3e48de4ae31cc3f52309b6513
parentbc82567b0bd69e630ae82e77943d5726f0af9e36 (diff)
downloadguix-c3a1373c15908b347cc580abf8522693d21923bb.tar.gz
guix-c3a1373c15908b347cc580abf8522693d21923bb.zip
gnu: Add r-lexicon.
* gnu/packages/cran.scm (r-lexicon): New variable.
-rw-r--r--gnu/packages/cran.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 6f8230278e..f5ed504744 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -27464,3 +27464,26 @@ function. The package also provides a hack for implementing Stanford's coreNLP
sentiment parser. The package provides several methods for plot arc
normalization.")
(license license:gpl3)))
+
+(define-public r-lexicon
+ (package
+ (name "r-lexicon")
+ (version "1.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "lexicon" version))
+ (sha256
+ (base32
+ "0x7rscsh6par2lj11sby7bmz41cxn63iiw51lgh29z09cg8j606c"))))
+ (properties `((upstream-name . "lexicon")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-data-table" ,r-data-table)
+ ("r-syuzhet" ,r-syuzhet)))
+ (home-page "https://github.com/trinker/lexicon")
+ (synopsis "Lexicons for Text Analysis")
+ (description
+ "This package provides a collection of lexical hash tables, dictionaries,
+and word lists.")
+ (license license:gpl3)))