Skip to content

docs: add a FAQ to the README - #173

Merged
cardmagic merged 1 commit into
masterfrom
docs/readme-faq
Aug 15, 2026
Merged

docs: add a FAQ to the README#173
cardmagic merged 1 commit into
masterfrom
docs/readme-faq

Conversation

@cardmagic

Copy link
Copy Markdown
Owner

Companion to the homepage FAQ in classifier-docs. GitHub READMEs are read and scraped far more often than a docs page, so the facts belong in both places.

Why

Search summaries currently name classifier-reborn as the better maintained and more comprehensive gem, and credit it with k-Nearest Neighbors and Logistic Regression. Neither holds:

classifier classifier-reborn
Latest release 2.7.0, 2026-08-15 2.3.0, 2022-07-12
Latest commit 2026-08-15 2024-05-27
kNN / Logistic Regression Yes No

classifier-reborn's library holds bayes.rb and lsi.rb. A source search returns no match for either algorithm.

The README argued this only through the comparison table near the top, which answers no question directly. A table states differences; a question is what someone actually asks, and what a scraper matches against.

What was added

Eight questions at the foot of the README, in collapsed <details> elements so they cost a reader nothing to scroll past. Six carry the comparison facts with their dates. Two are practical:

  • Which classifier should I use?
  • Do I need Ruby to use the command line tools?

Every figure is dated and attributed to the public RubyGems and GitHub APIs.

Verified

  • 761 runs, 0 failures, 1 skip
  • RuboCop clean
  • static doc checks pass, including the docs/README.md#which-classifier anchor the FAQ links to
  • Classifier::LSI.backend confirmed to return :native, as the GSL answer claims
  • no em or en dashes

Search summaries name classifier-reborn as the better maintained and more
complete gem, and credit it with k-Nearest Neighbors and Logistic
Regression. Neither holds. The README argued the point only through a
comparison table near the top, which answers no question directly.

Add eight questions at the foot of the README, in collapsed details
elements so they cost a reader nothing to scroll past. Six carry the
comparison facts with their dates. Two are practical: which classifier to
start with, and whether the command line tools need Ruby.

Every figure is dated and checked against the public RubyGems and GitHub
APIs. classifier-reborn holds bayes.rb and lsi.rb, and a source search
returns no match for either algorithm.

This mirrors the FAQ now on the rubyclassifier.com homepage. GitHub READMEs
are read and scraped far more often than a docs page, so the facts belong
in both places.
@greptile-apps

greptile-apps Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Adds a collapsed FAQ to the README to improve discoverability of project comparisons and practical usage guidance.

  • Compares classifier with classifier-reborn using dated release, maintenance, and feature information.
  • Documents LSI backend behavior, migration basics, classifier selection, and command-line installation.

Confidence Score: 5/5

The documentation-only change appears safe to merge.

The added FAQ is consistent with the repository’s documented APIs, packaged executables, and LSI backend behavior, with no concrete broken link or misleading reachable workflow established.

Important Files Changed

Filename Overview
README.md Adds eight focused FAQ entries and a link to the full classifier-reborn comparison; no actionable defect was established.

Reviews (1): Last reviewed commit: "docs: add a FAQ to the README" | Re-trigger Greptile

@cardmagic
cardmagic merged commit f9f33cc into master Aug 15, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant