pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/ruby-classifier-reborn textproc/ruby-classifi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ebdb73b5d37
branches:  trunk
changeset: 377311:6ebdb73b5d37
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Mar 14 15:40:07 2018 +0000

description:
textproc/ruby-classifier-reborn: update to 2.2.0

2.2.0 / 2017-12-14

* JRuby Support, thanks to @mach-kernel (#168)
* Add support to reset trained classifiers to their initial state (#143)
* Classifier evaluation and validation (#142)
* Abbility to add custom stopwords at classifier initialization (#129)
* Don't train/untrain the Bayesian classifier with empty word hashes (#132)
* Enable auto categorization if no initial categories (#128)
* Bayes integration test of Memory and Redis backends with real data (#92)
* Memory and Redis backend support (#84)

Minor Enhancements

* improved turkish stopwords (#159)
* Set Redis keys only if they don't exist (#156)
* Require bayes_redis_backend (#157)
* Validation documentation improvements (#150)
* Updated Dokcer image to Ruby 2.4 (#149)
* Classifier validation user documenation (#145)
* Fixed persistance for BayesMemoryBackend (#147)
* Fixed error on requiring 'classifier-reborn' without using Redis (#146)
* Removed magic train untrain methods from docs, (#141)
* Links corrected to point to the new domain (#139)
* Minor docs improvements (#138)
* Return the status of the training/untraining when run (#137)
* Refactoring of backend tests to move duplicate login in the common file (#134)
* Deal with Infinity score in test (#133)
* README file cleaned up to point to the documentation site (#121)
* Added and corrected RDoc for ceratin classes and methods (#122)
* Added favicon link and forced display (#120)
* Updated the truncated LICENSE file (#116)
* Docs visual improvement and refactoring (#119)
* Fixed relative URL issue on nav links and added benchmark data (#118)
* Added custom layout with navigation (#117)
* Created a static site for documentation (#115)
* Removed redis gem from Dockerfile as it is added in gemspec (#113)
* Speed up Docker image rebilding (#112)
* Improved Docker based development documentation (#106)
* Benchmark refactoring, improving efficiency, enhanced reporting (#107)
* Add Vietnamese stopwords (#110)
* Added stop words for Arabic, Bengali, Chinese, Hindi, and Russian (#105)
* Dockerfile and documentation (#104)
* Remove hard dep on Redis and update bin (#96)
* Documented Redis backend performance (#103)
* Rename Bayes memory test class (#102)
* Added Bayes backend benchmarks (#98)
* Disabled Redis disc persistence and refactored integration test (#97)
* Removed useless intermediate variables (#90)

diffstat:

 textproc/ruby-classifier-reborn/ALTERNATIVES |   2 --
 textproc/ruby-classifier-reborn/Makefile     |   4 ++--
 textproc/ruby-classifier-reborn/PLIST        |  17 ++++++++++++-----
 textproc/ruby-classifier-reborn/distinfo     |  10 +++++-----
 4 files changed, 19 insertions(+), 14 deletions(-)

diffs (82 lines):

diff -r be0be07d86ce -r 6ebdb73b5d37 textproc/ruby-classifier-reborn/ALTERNATIVES
--- a/textproc/ruby-classifier-reborn/ALTERNATIVES      Wed Mar 14 15:36:00 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-bin/bayes.rb @PREFIX@/bin/bayes.rb@RUBY_SUFFIX@
-bin/summarize.rb @PREFIX@/bin/summarize.rb@RUBY_SUFFIX@
diff -r be0be07d86ce -r 6ebdb73b5d37 textproc/ruby-classifier-reborn/Makefile
--- a/textproc/ruby-classifier-reborn/Makefile  Wed Mar 14 15:36:00 2018 +0000
+++ b/textproc/ruby-classifier-reborn/Makefile  Wed Mar 14 15:40:07 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2017/03/20 15:24:43 taca Exp $
+# $NetBSD: Makefile,v 1.4 2018/03/14 15:40:07 taca Exp $
 
-DISTNAME=      classifier-reborn-2.1.0
+DISTNAME=      classifier-reborn-2.2.0
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc
 
diff -r be0be07d86ce -r 6ebdb73b5d37 textproc/ruby-classifier-reborn/PLIST
--- a/textproc/ruby-classifier-reborn/PLIST     Wed Mar 14 15:36:00 2018 +0000
+++ b/textproc/ruby-classifier-reborn/PLIST     Wed Mar 14 15:40:07 2018 +0000
@@ -1,11 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2015/12/13 16:55:48 taca Exp $
-bin/bayes.rb${RUBY_SUFFIX}
-bin/summarize.rb${RUBY_SUFFIX}
+@comment $NetBSD: PLIST,v 1.3 2018/03/14 15:40:07 taca Exp $
 ${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/ar
+${GEM_LIBDIR}/data/stopwords/bn
 ${GEM_LIBDIR}/data/stopwords/ca
 ${GEM_LIBDIR}/data/stopwords/cs
 ${GEM_LIBDIR}/data/stopwords/da
@@ -14,15 +12,23 @@
 ${GEM_LIBDIR}/data/stopwords/es
 ${GEM_LIBDIR}/data/stopwords/fi
 ${GEM_LIBDIR}/data/stopwords/fr
+${GEM_LIBDIR}/data/stopwords/hi
 ${GEM_LIBDIR}/data/stopwords/hu
 ${GEM_LIBDIR}/data/stopwords/it
+${GEM_LIBDIR}/data/stopwords/ja
 ${GEM_LIBDIR}/data/stopwords/nl
 ${GEM_LIBDIR}/data/stopwords/no
 ${GEM_LIBDIR}/data/stopwords/pl
 ${GEM_LIBDIR}/data/stopwords/pt
+${GEM_LIBDIR}/data/stopwords/ru
 ${GEM_LIBDIR}/data/stopwords/se
 ${GEM_LIBDIR}/data/stopwords/tr
+${GEM_LIBDIR}/data/stopwords/vi
+${GEM_LIBDIR}/data/stopwords/zh
 ${GEM_LIBDIR}/lib/classifier-reborn.rb
+${GEM_LIBDIR}/lib/classifier-reborn/backends/bayes_memory_backend.rb
+${GEM_LIBDIR}/lib/classifier-reborn/backends/bayes_redis_backend.rb
+${GEM_LIBDIR}/lib/classifier-reborn/backends/no_redis_error.rb
 ${GEM_LIBDIR}/lib/classifier-reborn/bayes.rb
 ${GEM_LIBDIR}/lib/classifier-reborn/category_namer.rb
 ${GEM_LIBDIR}/lib/classifier-reborn/extensions/hasher.rb
@@ -33,5 +39,6 @@
 ${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/validators/classifier_validator.rb
 ${GEM_LIBDIR}/lib/classifier-reborn/version.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r be0be07d86ce -r 6ebdb73b5d37 textproc/ruby-classifier-reborn/distinfo
--- a/textproc/ruby-classifier-reborn/distinfo  Wed Mar 14 15:36:00 2018 +0000
+++ b/textproc/ruby-classifier-reborn/distinfo  Wed Mar 14 15:40:07 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2017/03/20 15:24:43 taca Exp $
+$NetBSD: distinfo,v 1.5 2018/03/14 15:40:07 taca Exp $
 
-SHA1 (classifier-reborn-2.1.0.gem) = c1de44c24152e2e509c0476bc6407685df37008b
-RMD160 (classifier-reborn-2.1.0.gem) = 1349b3a47dbcd0f2c3e5bb19ca83e007034162d7
-SHA512 (classifier-reborn-2.1.0.gem) = f9a65477c276b5611682e94b8263951a5375cbe3ac56736a58fa0d8395d62650cf9d0c9acdde36cb53cfb6770acf7bf8422a33a19783b8facc96f8693c7dc5d1
-Size (classifier-reborn-2.1.0.gem) = 38912 bytes
+SHA1 (classifier-reborn-2.2.0.gem) = 971c1da590f99a90c92183e3a010c0c948def278
+RMD160 (classifier-reborn-2.2.0.gem) = faba650326f2e6794026d0c59263fe28c7acd603
+SHA512 (classifier-reborn-2.2.0.gem) = f24c64f7b6ee26a41cfc2d9c09dbeb59d0d0a9291a6528088d5802c66f36f950891b7102cfaa62faaf70f3a4a4abb993c0e3db9219e1e504fca6edb40059432d
+Size (classifier-reborn-2.2.0.gem) = 49664 bytes



Home | Main Index | Thread Index | Old Index