summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorsno <sno>2010-08-19 06:35:32 +0000
committersno <sno>2010-08-19 06:35:32 +0000
commit73479a9838538ade9efb89dcd0f2090f4b7ee638 (patch)
treed7faee570d245c1a2965ded675a7fd76062f0338 /textproc
parenta72ae98a0602c7e31834a2f45282c0fdf4e968bf (diff)
downloadpkgsrc-73479a9838538ade9efb89dcd0f2090f4b7ee638.tar.gz
Importing package for Perl5 module Lingua::Stem::Snowball::Da 1.01 as
dependency of scheduled import of Lingua::Stem 0.84. The stem function takes a scalar as a parameter and stems the word according to Martin Porters Danish stemming algorithm, which can be found at the Snowball website: http://snowball.tartarus.org/. It also supports caching if the use_cache option is passed when constructing a new L:S:S:D object.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-Lingua-Stem-Snowball-Da/DESCR6
-rw-r--r--textproc/p5-Lingua-Stem-Snowball-Da/Makefile19
-rw-r--r--textproc/p5-Lingua-Stem-Snowball-Da/distinfo5
3 files changed, 30 insertions, 0 deletions
diff --git a/textproc/p5-Lingua-Stem-Snowball-Da/DESCR b/textproc/p5-Lingua-Stem-Snowball-Da/DESCR
new file mode 100644
index 00000000000..e367f23eb8e
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Snowball-Da/DESCR
@@ -0,0 +1,6 @@
+The stem function takes a scalar as a parameter and stems the word
+according to Martin Porters Danish stemming algorithm, which can be found
+at the Snowball website: http://snowball.tartarus.org/.
+
+It also supports caching if the use_cache option is passed when
+constructing a new L:S:S:D object.
diff --git a/textproc/p5-Lingua-Stem-Snowball-Da/Makefile b/textproc/p5-Lingua-Stem-Snowball-Da/Makefile
new file mode 100644
index 00000000000..41a7bec0a31
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Snowball-Da/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/08/19 06:35:32 sno Exp $
+
+DISTNAME= Lingua-Stem-Snowball-Da-1.01
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Lingua/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Lingua-Stem-Snowball-Da/
+COMMENT= Porters stemming algorithm for Denmark
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+REPLACE_PERL+= stemmer.pl
+
+PERL5_PACKLIST= auto/Lingua/Stem/Snowball/Da/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-Lingua-Stem-Snowball-Da/distinfo b/textproc/p5-Lingua-Stem-Snowball-Da/distinfo
new file mode 100644
index 00000000000..2b3f098aec3
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Snowball-Da/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/08/19 06:35:32 sno Exp $
+
+SHA1 (Lingua-Stem-Snowball-Da-1.01.tar.gz) = f6306c9d3b94005213ddb22e34a8e786cc9100a0
+RMD160 (Lingua-Stem-Snowball-Da-1.01.tar.gz) = ca971aaee10d29b3f9e5b4f693767d78f2d0ffc5
+Size (Lingua-Stem-Snowball-Da-1.01.tar.gz) = 103930 bytes