summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorobache <obache>2011-06-19 09:08:05 +0000
committerobache <obache>2011-06-19 09:08:05 +0000
commit6769fbfac4da10135e48187edf08224a4560cc8e (patch)
tree96b212275d77639365c5cf21f7b1efa1b0d90657 /textproc
parentd7c54fe933acfcd27ffd0e30baa0cf7ba3ff882b (diff)
downloadpkgsrc-6769fbfac4da10135e48187edf08224a4560cc8e.tar.gz
Import p5-Text-WagnerFischer-0.04 as textproc/p5-Text-WagnerFischer.
PR#44976 by David H. Gutteridge. This module implements the Wagner-Fischer dynamic programming technique, used here to calculate the edit distance of two strings. The edit distance is a measure of the degree of proximity between two strings, based on "edits": the operations of substitutions, deletions or insertions needed to transform the string into the other one (and vice versa). The module is designed to be easily extensible by functioning as a base class for other modules.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-Text-WagnerFischer/DESCR7
-rw-r--r--textproc/p5-Text-WagnerFischer/Makefile20
-rw-r--r--textproc/p5-Text-WagnerFischer/distinfo5
3 files changed, 32 insertions, 0 deletions
diff --git a/textproc/p5-Text-WagnerFischer/DESCR b/textproc/p5-Text-WagnerFischer/DESCR
new file mode 100644
index 00000000000..17eb4f4a736
--- /dev/null
+++ b/textproc/p5-Text-WagnerFischer/DESCR
@@ -0,0 +1,7 @@
+This module implements the Wagner-Fischer dynamic programming
+technique, used here to calculate the edit distance of two strings.
+The edit distance is a measure of the degree of proximity between two
+strings, based on "edits": the operations of substitutions, deletions
+or insertions needed to transform the string into the other one (and
+vice versa). The module is designed to be easily extensible by
+functioning as a base class for other modules.
diff --git a/textproc/p5-Text-WagnerFischer/Makefile b/textproc/p5-Text-WagnerFischer/Makefile
new file mode 100644
index 00000000000..5dac7f5985d
--- /dev/null
+++ b/textproc/p5-Text-WagnerFischer/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/06/19 09:08:05 obache Exp $
+#
+
+DISTNAME= Text-WagnerFischer-0.04
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Text-WagnerFischer
+COMMENT= Perl module for configurable edit distance calculations
+LICENSE= ${PERL5_LICENSE}
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/Text/WagnerFischer/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-Text-WagnerFischer/distinfo b/textproc/p5-Text-WagnerFischer/distinfo
new file mode 100644
index 00000000000..c520d7220cc
--- /dev/null
+++ b/textproc/p5-Text-WagnerFischer/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/06/19 09:08:05 obache Exp $
+
+SHA1 (Text-WagnerFischer-0.04.tar.gz) = a856e9e3d802b7f3845e1957a58ffd5ea930680f
+RMD160 (Text-WagnerFischer-0.04.tar.gz) = efed4a11e5b4fa242755483d57e6da8862d4d528
+Size (Text-WagnerFischer-0.04.tar.gz) = 3461 bytes