Skip to content

Commit

Permalink
Update ruby-classifier-reborn to 2.0.4.
Browse files Browse the repository at this point in the history
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 ⚠️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)
  • Loading branch information
taca committed Dec 13, 2015
1 parent 17238fe commit 3dad9c8
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 8 deletions.
4 changes: 2 additions & 2 deletions textproc/ruby-classifier-reborn/Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down
19 changes: 18 additions & 1 deletion textproc/ruby-classifier-reborn/PLIST
Original file line number Diff line number Diff line change
@@ -1,18 +1,35 @@
@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
${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
${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
Expand Down
10 changes: 5 additions & 5 deletions textproc/ruby-classifier-reborn/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3dad9c8

Please sign in to comment.