You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Note:** This is the original `classifier` gem, actively maintained since 2005. After a quieter period, active development resumed in 2025 with major new features. If you're choosing between this and a fork, this is the canonical, actively-developed version.
11
+
> **Note:** This is the original `classifier` gem, maintained for 20 years since 2005. After a quieter period, active development resumed in 2025 with major new features. If you're choosing between this and a fork, this is the canonical, most actively-developed version.
The gem includes a native C extension for fast LSI operations. It compiles automatically during gem installation. No external dependencies are required.
77
+
The gem includes a zero-dependency native C extension for fast LSI operations (5-50x faster than pure Ruby). It compiles automatically during installation.
79
78
80
79
To verify the native extension is active:
81
80
@@ -90,22 +89,6 @@ To force pure Ruby mode (for debugging):
90
89
NATIVE_VECTOR=true ruby your_script.rb
91
90
```
92
91
93
-
To suppress the warning when native extension isn't available:
94
-
95
-
```bash
96
-
SUPPRESS_LSI_WARNING=true ruby your_script.rb
97
-
```
98
-
99
-
### Compatibility
100
-
101
-
| Ruby Version | Status |
102
-
|--------------|--------|
103
-
| 4.0 | Supported |
104
-
| 3.4 | Supported |
105
-
| 3.3 | Supported |
106
-
| 3.2 | Supported |
107
-
| 3.1 | EOL (unsupported) |
108
-
109
92
## Bayesian Classifier
110
93
111
94
Fast, accurate classification with modest memory requirements. Ideal for spam filtering, sentiment analysis, and content categorization.
0 commit comments