From aae8f1b84e95c20832711d4b7b3f5cb5214201df Mon Sep 17 00:00:00 2001 From: Lucas Carlson Date: Sat, 15 Aug 2026 10:24:32 -0700 Subject: [PATCH 1/2] docs: name the command line tools in the pitch table "Why This Library?" compared five dimensions and left out the commands, so a reader of the pitch never learned the gem ships any executable, let alone the keywords tool added in 2.7.0. The gem installs classifier and keywords. classifier-reborn, the fork the table compares against, ships neither: it has no bin/ and no exe/, so its gemspec grep over ^bin/ yields an empty executables array. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9a15594..a83be82 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Text classification in Ruby. Five algorithms, native performance, streaming supp | | This Gem | Other Forks | |:--|:--|:--| | **Algorithms** | ✅ 5 classifiers | ❌ 2 only | +| **Command line** | ✅ `classifier` and `keywords` commands | ❌ No executables | | **Incremental LSI** | ✅ Brand's algorithm (no rebuild) | ❌ Full SVD rebuild on every add | | **LSI Performance** | ✅ Native C extension (5-50x faster) | ❌ Pure Ruby or requires GSL | | **Streaming** | ✅ Train on multi-GB datasets | ❌ Must load all data in memory | From f251bdf5884e4b55bd84061ef2608bb6a5fe98ba Mon Sep 17 00:00:00 2001 From: Lucas Carlson Date: Sat, 15 Aug 2026 10:25:43 -0700 Subject: [PATCH 2/2] docs: count the classifiers correctly The table claimed 5 classifiers. Only four of the five classes classify: Bayes classify:true LSI classify:true KNN classify:true LogisticRegression classify:true TFIDF classify:false transform:true TF-IDF is a vectorizer. It turns text into term weights and never returns a category. The gemspec summary already draws this line, saying "Bayesian, LSI, Logistic Regression, kNN, and TF-IDF vectorization". Name the fork's side too. classifier-reborn ships bayes.rb and lsi.rb, which is where the "2 only" comes from. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a83be82..c2a93f5 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Text classification in Ruby. Five algorithms, native performance, streaming supp | | This Gem | Other Forks | |:--|:--|:--| -| **Algorithms** | ✅ 5 classifiers | ❌ 2 only | +| **Algorithms** | ✅ 4 classifiers + TF-IDF vectorization | ❌ 2 classifiers only | | **Command line** | ✅ `classifier` and `keywords` commands | ❌ No executables | | **Incremental LSI** | ✅ Brand's algorithm (no rebuild) | ❌ Full SVD rebuild on every add | | **LSI Performance** | ✅ Native C extension (5-50x faster) | ❌ Pure Ruby or requires GSL |