summaryrefslogtreecommitdiff
path: root/math/R-stringdist
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2020-02-10 14:21:00 +0000
committermef <mef@pkgsrc.org>2020-02-10 14:21:00 +0000
commitaf5e958b18cb0d676c0f4b128ae837273b842c30 (patch)
treec568be00b4cc354d0bc75a7505019d6ba31106f1 /math/R-stringdist
parent68f6e59689d5d2ace3bcd326b1c87736c34ec4e4 (diff)
downloadpkgsrc-af5e958b18cb0d676c0f4b128ae837273b842c30.tar.gz
(math/R-stringdist) import R-stringdist-0.9.5.5
Implements an approximate string matching version of R's native 'match' function. Can calculate various string distances based on edits (Damerau-Levenshtein, Hamming, Levenshtein, optimal sting alignment), qgrams (q- gram, cosine, jaccard distance) or heuristic metrics (Jaro, Jaro-Winkler). An implementation of soundex is provided as well. Distances can be computed between character vectors while taking proper care of encoding or between integer vectors representing generic sequences. This package is built for speed and runs in parallel by using 'openMP'. An API for C or C++ is exposed as well.
Diffstat (limited to 'math/R-stringdist')
-rw-r--r--math/R-stringdist/DESCR9
-rw-r--r--math/R-stringdist/Makefile14
-rw-r--r--math/R-stringdist/distinfo6
3 files changed, 29 insertions, 0 deletions
diff --git a/math/R-stringdist/DESCR b/math/R-stringdist/DESCR
new file mode 100644
index 00000000000..64e3a1aff7e
--- /dev/null
+++ b/math/R-stringdist/DESCR
@@ -0,0 +1,9 @@
+Implements an approximate string matching version of R's native
+'match' function. Can calculate various string distances based on
+edits (Damerau-Levenshtein, Hamming, Levenshtein, optimal sting
+alignment), qgrams (q- gram, cosine, jaccard distance) or heuristic
+metrics (Jaro, Jaro-Winkler). An implementation of soundex is provided
+as well. Distances can be computed between character vectors while
+taking proper care of encoding or between integer vectors representing
+generic sequences. This package is built for speed and runs in
+parallel by using 'openMP'. An API for C or C++ is exposed as well.
diff --git a/math/R-stringdist/Makefile b/math/R-stringdist/Makefile
new file mode 100644
index 00000000000..941b6c656a5
--- /dev/null
+++ b/math/R-stringdist/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2020/02/10 14:21:00 mef Exp $
+
+R_PKGNAME= stringdist
+R_PKGVER= 0.9.5.5
+CATEGORIES= math
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Approximate String Matching and String Distance Functions
+LICENSE= gnu-gpl-v3
+
+USE_LANGUAGES= c
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/R-stringdist/distinfo b/math/R-stringdist/distinfo
new file mode 100644
index 00000000000..4ba1b801031
--- /dev/null
+++ b/math/R-stringdist/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/02/10 14:21:00 mef Exp $
+
+SHA1 (R/stringdist_0.9.5.5.tar.gz) = 014112bce2f49d915cecb5bf3156adb66cac62fb
+RMD160 (R/stringdist_0.9.5.5.tar.gz) = 173983e049b7fe014d942dc9f127b215fbe92d08
+SHA512 (R/stringdist_0.9.5.5.tar.gz) = c02c4846bea3e6de5bd67fbf0ed4cbd690b4def9b8684433b17e5140d1d18f36da82014c013f7533730ba2decf796112126343bd397ab4971014f713289ef0ca
+Size (R/stringdist_0.9.5.5.tar.gz) = 831912 bytes