diff options
author | taca <taca@pkgsrc.org> | 2015-02-07 14:56:49 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2015-02-07 14:56:49 +0000 |
commit | fff4f739da658419583fd4832bc74b6ee4af5abf (patch) | |
tree | bac0e6d489d901f9a2eab8f92585a9a5460c6a83 /textproc | |
parent | c9c4bebf16bca917b41885a278e37c4f82de08ed (diff) | |
download | pkgsrc-fff4f739da658419583fd4832bc74b6ee4af5abf.tar.gz |
Add ruby-classifier-reborn 2.0.3, successor of ruby-classifier.
Classifier is a general classifier module for Ruby to allow Bayesian
and other types of classifications.
Classifier Reborn is a fork of cardmagic/classifier under more active
development.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ruby-classifier-reborn/ALTERNATIVES | 2 | ||||
-rw-r--r-- | textproc/ruby-classifier-reborn/DESCR | 5 | ||||
-rw-r--r-- | textproc/ruby-classifier-reborn/Makefile | 17 | ||||
-rw-r--r-- | textproc/ruby-classifier-reborn/PLIST | 20 | ||||
-rw-r--r-- | textproc/ruby-classifier-reborn/distinfo | 5 |
5 files changed, 49 insertions, 0 deletions
diff --git a/textproc/ruby-classifier-reborn/ALTERNATIVES b/textproc/ruby-classifier-reborn/ALTERNATIVES new file mode 100644 index 00000000000..f42d0501bf5 --- /dev/null +++ b/textproc/ruby-classifier-reborn/ALTERNATIVES @@ -0,0 +1,2 @@ +bin/bayes.rb @PREFIX@/bin/bayes.rb@RUBY_SUFFIX@ +bin/summarize.rb @PREFIX@/bin/summarize.rb@RUBY_SUFFIX@ diff --git a/textproc/ruby-classifier-reborn/DESCR b/textproc/ruby-classifier-reborn/DESCR new file mode 100644 index 00000000000..25dda2eaeff --- /dev/null +++ b/textproc/ruby-classifier-reborn/DESCR @@ -0,0 +1,5 @@ +Classifier is a general classifier module for Ruby to allow Bayesian +and other types of classifications. + +Classifier Reborn is a fork of cardmagic/classifier under more active +development. diff --git a/textproc/ruby-classifier-reborn/Makefile b/textproc/ruby-classifier-reborn/Makefile new file mode 100644 index 00000000000..eeea63110f9 --- /dev/null +++ b/textproc/ruby-classifier-reborn/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2015/02/07 14:56:49 taca Exp $ + +DISTNAME= classifier-reborn-2.0.3 +PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} +CATEGORIES= textproc + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/jekyll/classifier-reborn/ +COMMENT= General classifier module for Bayesian and other classificaions +LICENSE= gnu-lgpl-v2.1 + +DEPENDS= ${RUBY_PKGPREFIX}-fast-stemmer>=1.0<2:../../textproc/ruby-fast-stemmer + +RUBYGEM_OPTIONS+= --format-executable + +.include "../../lang/ruby/gem.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-classifier-reborn/PLIST b/textproc/ruby-classifier-reborn/PLIST new file mode 100644 index 00000000000..a3e966653b6 --- /dev/null +++ b/textproc/ruby-classifier-reborn/PLIST @@ -0,0 +1,20 @@ +@comment $NetBSD: PLIST,v 1.1 2015/02/07 14:56:49 taca Exp $ +bin/bayes.rb${RUBY_SUFFIX} +bin/summarize.rb${RUBY_SUFFIX} +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/LICENSE +${GEM_LIBDIR}/README.markdown +${GEM_LIBDIR}/bin/bayes.rb +${GEM_LIBDIR}/bin/summarize.rb +${GEM_LIBDIR}/lib/classifier-reborn.rb +${GEM_LIBDIR}/lib/classifier-reborn/bayes.rb +${GEM_LIBDIR}/lib/classifier-reborn/category_namer.rb +${GEM_LIBDIR}/lib/classifier-reborn/extensions/hasher.rb +${GEM_LIBDIR}/lib/classifier-reborn/extensions/vector.rb +${GEM_LIBDIR}/lib/classifier-reborn/extensions/vector_serialize.rb +${GEM_LIBDIR}/lib/classifier-reborn/lsi.rb +${GEM_LIBDIR}/lib/classifier-reborn/lsi/content_node.rb +${GEM_LIBDIR}/lib/classifier-reborn/lsi/summarizer.rb +${GEM_LIBDIR}/lib/classifier-reborn/lsi/word_list.rb +${GEM_LIBDIR}/lib/classifier-reborn/version.rb +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/textproc/ruby-classifier-reborn/distinfo b/textproc/ruby-classifier-reborn/distinfo new file mode 100644 index 00000000000..ea01e6c8683 --- /dev/null +++ b/textproc/ruby-classifier-reborn/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2015/02/07 14:56:49 taca Exp $ + +SHA1 (classifier-reborn-2.0.3.gem) = 7103d7449eb0d26bd9549fd29f7847bbba78ef9f +RMD160 (classifier-reborn-2.0.3.gem) = bbce7e930ea27c87c84abb872465b94cd2cf97bc +Size (classifier-reborn-2.0.3.gem) = 23040 bytes |