diff options
author | taca <taca@pkgsrc.org> | 2015-12-13 16:55:48 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2015-12-13 16:55:48 +0000 |
commit | 83b9b75eed046f69148dd9940b36549af2c3dd2f (patch) | |
tree | 32e20390b88065cc90eae2bd7d040407be709461 /textproc/ruby-classifier-reborn | |
parent | b7ce9c7f560dc881afc2d855b775ddf30dd8de27 (diff) | |
download | pkgsrc-83b9b75eed046f69148dd9940b36549af2c3dd2f.tar.gz |
Update ruby-classifier-reborn to 2.0.4.
v2.0.4
Major Enhancements
* Classification thresholds can be enabled or disabled. The default is
disabled. The threshold value can be set at initialization time or
dynamically during processing (#47)
* Made auto-categorization optional, defaulting to false (#45)
* Added the ability to handle an array of classifications to the constructor
(#44)
* Classification with a threshold has been added to the api (#39)
Minor Enhancements
* Documentation around threshold usage (#54)
* Fixed UTF-8 encoding for hasher.rb (#50)
* Removed some unnecessary methods (#43)
* Add optional CachedContentNode (GSL only) (#43)
* Caches the transposed search_vector (#43)
* Added custom marshal_ methods to not save the cache when dumping/loading
(#43)
* Optimized some numeric comparisons and iterators (#43)
* Added cached calculation table when computing raw_vectors (#43)
* If a category name is already a symbol, just return it (#45)
* Various Hash improvements (#45)
* Eliminated several Ruby :warning:s when run with RUBYOPT="-w" (#38)
* Simple performance improvements for the Hasher process (#41)
* Fixes for broken regex splitting for non-ascii characters and removal of the
unused punctuation filter (#41)
* Add multiple language stopwords with customizable stop word paths (#40)
Bug Fixes
* Fixed the bug where adding the same category a second time would clobber the
category that was already there (#45)
* Fixed deprecation warning for <=> in ls.rb (#33)
* Remove references to Madeline in the README and replace it with Marshal or
Redis (#32)
Development Fixes
* Added development dependency on mini_test and added 2.2 to travis.yml (#36)
Diffstat (limited to 'textproc/ruby-classifier-reborn')
-rw-r--r-- | textproc/ruby-classifier-reborn/Makefile | 4 | ||||
-rw-r--r-- | textproc/ruby-classifier-reborn/PLIST | 19 | ||||
-rw-r--r-- | textproc/ruby-classifier-reborn/distinfo | 10 |
3 files changed, 25 insertions, 8 deletions
diff --git a/textproc/ruby-classifier-reborn/Makefile b/textproc/ruby-classifier-reborn/Makefile index eeea63110f9..b83e3a434cd 100644 --- a/textproc/ruby-classifier-reborn/Makefile +++ b/textproc/ruby-classifier-reborn/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.1 2015/02/07 14:56:49 taca Exp $ +# $NetBSD: Makefile,v 1.2 2015/12/13 16:55:48 taca Exp $ -DISTNAME= classifier-reborn-2.0.3 +DISTNAME= classifier-reborn-2.0.4 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} CATEGORIES= textproc diff --git a/textproc/ruby-classifier-reborn/PLIST b/textproc/ruby-classifier-reborn/PLIST index a3e966653b6..0c4b80913bd 100644 --- a/textproc/ruby-classifier-reborn/PLIST +++ b/textproc/ruby-classifier-reborn/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2015/02/07 14:56:49 taca Exp $ +@comment $NetBSD: PLIST,v 1.2 2015/12/13 16:55:48 taca Exp $ bin/bayes.rb${RUBY_SUFFIX} bin/summarize.rb${RUBY_SUFFIX} ${GEM_HOME}/cache/${GEM_NAME}.gem @@ -6,6 +6,22 @@ ${GEM_LIBDIR}/LICENSE ${GEM_LIBDIR}/README.markdown ${GEM_LIBDIR}/bin/bayes.rb ${GEM_LIBDIR}/bin/summarize.rb +${GEM_LIBDIR}/data/stopwords/ca +${GEM_LIBDIR}/data/stopwords/cs +${GEM_LIBDIR}/data/stopwords/da +${GEM_LIBDIR}/data/stopwords/de +${GEM_LIBDIR}/data/stopwords/en +${GEM_LIBDIR}/data/stopwords/es +${GEM_LIBDIR}/data/stopwords/fi +${GEM_LIBDIR}/data/stopwords/fr +${GEM_LIBDIR}/data/stopwords/hu +${GEM_LIBDIR}/data/stopwords/it +${GEM_LIBDIR}/data/stopwords/nl +${GEM_LIBDIR}/data/stopwords/no +${GEM_LIBDIR}/data/stopwords/pl +${GEM_LIBDIR}/data/stopwords/pt +${GEM_LIBDIR}/data/stopwords/se +${GEM_LIBDIR}/data/stopwords/tr ${GEM_LIBDIR}/lib/classifier-reborn.rb ${GEM_LIBDIR}/lib/classifier-reborn/bayes.rb ${GEM_LIBDIR}/lib/classifier-reborn/category_namer.rb @@ -13,6 +29,7 @@ ${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/cached_content_node.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 diff --git a/textproc/ruby-classifier-reborn/distinfo b/textproc/ruby-classifier-reborn/distinfo index 2a88a974058..6496f52ab00 100644 --- a/textproc/ruby-classifier-reborn/distinfo +++ b/textproc/ruby-classifier-reborn/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2015/11/04 02:00:07 agc Exp $ +$NetBSD: distinfo,v 1.3 2015/12/13 16:55:48 taca Exp $ -SHA1 (classifier-reborn-2.0.3.gem) = 7103d7449eb0d26bd9549fd29f7847bbba78ef9f -RMD160 (classifier-reborn-2.0.3.gem) = bbce7e930ea27c87c84abb872465b94cd2cf97bc -SHA512 (classifier-reborn-2.0.3.gem) = 306f509ed9b2727b5083fcc029f8141fb5217b16a4331656beb405f0629b73ea485459527b2325d47a9551a344da04b171b627799ddba9c2eb2cd93521dd8546 -Size (classifier-reborn-2.0.3.gem) = 23040 bytes +SHA1 (classifier-reborn-2.0.4.gem) = cf9ccc89cb546ec55c5ad64350b1179717a17488 +RMD160 (classifier-reborn-2.0.4.gem) = d620d916e658c85819cc450346d661c2f96ff9a0 +SHA512 (classifier-reborn-2.0.4.gem) = e6e792646f709b7e0711809a6a358ec61a31cad2b20f70a863396abffd3d5c25e20a7e1568cf49fb22d18eff9f6ad0c79aebb0249923d419b04a70d27761c8b0 +Size (classifier-reborn-2.0.4.gem) = 38400 bytes |