-
Notifications
You must be signed in to change notification settings - Fork 124
Expand file tree
/
Copy pathclassifier.gemspec
More file actions
36 lines (34 loc) · 1.64 KB
/
classifier.gemspec
File metadata and controls
36 lines (34 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
require_relative 'lib/classifier/version'
Gem::Specification.new do |s|
s.name = 'classifier'
s.version = Classifier::VERSION
s.summary = 'Text classification with Bayesian, LSI, Logistic Regression, kNN, and TF-IDF vectorization.'
s.description = 'A Ruby library for text classification featuring Naive Bayes, LSI (Latent Semantic Indexing), ' \
'Logistic Regression, and k-Nearest Neighbors classifiers. Includes TF-IDF vectorization, ' \
'streaming/incremental training, pluggable persistence backends, thread safety, and a native ' \
'C extension for fast LSI operations.'
s.author = 'Lucas Carlson'
s.email = 'lucas@rufy.com'
s.homepage = 'https://rubyclassifier.com'
s.metadata = {
'documentation_uri' => 'https://rubyclassifier.com/docs',
'source_code_uri' => 'https://github.com/cardmagic/classifier',
'bug_tracker_uri' => 'https://github.com/cardmagic/classifier/issues',
'changelog_uri' => 'https://github.com/cardmagic/classifier/releases'
}
s.required_ruby_version = '>= 3.1'
s.files = Dir['{lib,sig,exe}/**/*.{rb,rbs}', 'ext/**/*.{c,h,rb}', 'exe/*', 'bin/*', 'LICENSE', '*.md', 'test/*']
s.bindir = 'exe'
s.executables = ['classifier']
s.extensions = ['ext/classifier/extconf.rb']
s.license = 'LGPL'
s.add_dependency 'fast-stemmer', '~> 1.0'
s.add_dependency 'mutex_m', '~> 0.2'
s.add_dependency 'rake'
s.add_dependency 'matrix'
s.add_development_dependency 'minitest'
s.add_development_dependency 'rbs-inline'
s.add_development_dependency 'rdoc'
s.add_development_dependency 'rake-compiler'
s.add_development_dependency 'webmock'
end