summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2011-05-23 18:11:23 +0000
committerminskim <minskim@pkgsrc.org>2011-05-23 18:11:23 +0000
commitf9804d31ed0fec95e25e2a70de03b9e397ffa229 (patch)
tree53502b4848deb034737e95d72ca57e43e9733d61 /textproc
parent49ee41f26046f468fa44b27474ac661c9adec542 (diff)
downloadpkgsrc-f9804d31ed0fec95e25e2a70de03b9e397ffa229.tar.gz
Import ruby19-classifier-1.3.3 as textproc/ruby-classifier.
Classifier is a general classifier module for Ruby to allow Bayesian and other types of classifications.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-classifier/DESCR2
-rw-r--r--textproc/ruby-classifier/Makefile15
-rw-r--r--textproc/ruby-classifier/PLIST22
-rw-r--r--textproc/ruby-classifier/distinfo5
4 files changed, 44 insertions, 0 deletions
diff --git a/textproc/ruby-classifier/DESCR b/textproc/ruby-classifier/DESCR
new file mode 100644
index 00000000000..fd6a509ad11
--- /dev/null
+++ b/textproc/ruby-classifier/DESCR
@@ -0,0 +1,2 @@
+Classifier is a general classifier module for Ruby to allow Bayesian
+and other types of classifications.
diff --git a/textproc/ruby-classifier/Makefile b/textproc/ruby-classifier/Makefile
new file mode 100644
index 00000000000..5d2ce9f3dd6
--- /dev/null
+++ b/textproc/ruby-classifier/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/05/23 18:11:23 minskim Exp $
+
+DISTNAME= classifier-1.3.3
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://classifier.rufy.com/
+COMMENT= General classifier module for Bayesian and other classificaions
+LICENSE= gnu-lgpl-v2.1
+
+DEPENDS= ${RUBY_PKGPREFIX}-fast-stemmer>=1.0.0:../../textproc/ruby-fast-stemmer
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ruby-classifier/PLIST b/textproc/ruby-classifier/PLIST
new file mode 100644
index 00000000000..484de781d7f
--- /dev/null
+++ b/textproc/ruby-classifier/PLIST
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/23 18:11:23 minskim Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/bin/bayes.rb
+${GEM_LIBDIR}/bin/summarize.rb
+${GEM_LIBDIR}/lib/classifier.rb
+${GEM_LIBDIR}/lib/classifier/bayes.rb
+${GEM_LIBDIR}/lib/classifier/extensions/string.rb
+${GEM_LIBDIR}/lib/classifier/extensions/vector.rb
+${GEM_LIBDIR}/lib/classifier/extensions/vector_serialize.rb
+${GEM_LIBDIR}/lib/classifier/extensions/word_hash.rb
+${GEM_LIBDIR}/lib/classifier/lsi.rb
+${GEM_LIBDIR}/lib/classifier/lsi/content_node.rb
+${GEM_LIBDIR}/lib/classifier/lsi/summary.rb
+${GEM_LIBDIR}/lib/classifier/lsi/word_list.rb
+${GEM_LIBDIR}/test/bayes/bayesian_test.rb
+${GEM_LIBDIR}/test/extensions/word_hash_test.rb
+${GEM_LIBDIR}/test/lsi/lsi_test.rb
+${GEM_LIBDIR}/test/test_helper.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/textproc/ruby-classifier/distinfo b/textproc/ruby-classifier/distinfo
new file mode 100644
index 00000000000..a6e1e9753a8
--- /dev/null
+++ b/textproc/ruby-classifier/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/05/23 18:11:23 minskim Exp $
+
+SHA1 (classifier-1.3.3.gem) = cf0ce8583df4589b1c6648ec118a029282680775
+RMD160 (classifier-1.3.3.gem) = c9e620d31d6b29d7bb77b7ac0922db020419f16a
+Size (classifier-1.3.3.gem) = 24576 bytes