omnicat-svm 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Omnicat::Svm
2
2
 
3
- TODO: Write a gem description
3
+ Support Vector Machine (SVM) classifier strategy for OmniCat
4
4
 
5
5
  ## Installation
6
6
 
@@ -18,7 +18,7 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO: Write usage instructions here
21
+ Not ready!
22
22
 
23
23
  ## Contributing
24
24
 
data/Rakefile CHANGED
@@ -1 +1,20 @@
1
- require "bundler/gem_tasks"
1
+ require 'bundler/gem_tasks'
2
+ require 'rake'
3
+ require 'rake/testtask'
4
+
5
+ desc 'Default Task'
6
+ task :default => [ :test ]
7
+
8
+ # Run the unit tests
9
+ desc "Run all unit tests"
10
+ Rake::TestTask.new do |t|
11
+ t.libs << 'lib'
12
+ t.test_files = FileList['lib/test/unit/*_test.rb']
13
+ t.verbose = true
14
+ end
15
+
16
+ # Make a console for testing purposes
17
+ desc 'Generate a test console'
18
+ task :console do
19
+ verbose( false ) { sh "irb -I lib/ -r 'omnicat/svm'" }
20
+ end
@@ -1,7 +1,2 @@
1
- require "omnicat/svm/version"
2
-
3
- module Omnicat
4
- module SVM
5
- # Your code goes here...
6
- end
7
- end
1
+ require 'omnicat/svm/version'
2
+ require 'omnicat/classifiers/svm'
@@ -1,5 +1,5 @@
1
1
  module Omnicat
2
2
  module SVM
3
- VERSION = "0.0.1"
3
+ VERSION = '0.0.2'
4
4
  end
5
5
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ['lib']
20
20
 
21
- #spec.add_dependency 'omnicat', '~> 0.2.0'
21
+ spec.add_dependency 'omnicat', '~> 0.2.0'
22
22
  spec.add_development_dependency 'bundler', '~> 1.3'
23
23
  spec.add_development_dependency 'rake'
24
24
  end
metadata CHANGED
@@ -1,18 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omnicat-svm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Mustafa Turan
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-07-06 00:00:00.000000000 Z
12
+ date: 2013-07-10 00:00:00.000000000 Z
12
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: omnicat
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 0.2.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.2.0
13
30
  - !ruby/object:Gem::Dependency
14
31
  name: bundler
15
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
16
34
  requirements:
17
35
  - - ~>
18
36
  - !ruby/object:Gem::Version
@@ -20,6 +38,7 @@ dependencies:
20
38
  type: :development
21
39
  prerelease: false
22
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
23
42
  requirements:
24
43
  - - ~>
25
44
  - !ruby/object:Gem::Version
@@ -27,15 +46,17 @@ dependencies:
27
46
  - !ruby/object:Gem::Dependency
28
47
  name: rake
29
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
30
50
  requirements:
31
- - - '>='
51
+ - - ! '>='
32
52
  - !ruby/object:Gem::Version
33
53
  version: '0'
34
54
  type: :development
35
55
  prerelease: false
36
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
37
58
  requirements:
38
- - - '>='
59
+ - - ! '>='
39
60
  - !ruby/object:Gem::Version
40
61
  version: '0'
41
62
  description: Support Vector Machine (SVM) classifier strategy for OmniCat
@@ -56,26 +77,27 @@ files:
56
77
  homepage: https://github.com/mustafaturan/omnicat-svm
57
78
  licenses:
58
79
  - MIT
59
- metadata: {}
60
80
  post_install_message:
61
81
  rdoc_options: []
62
82
  require_paths:
63
83
  - lib
64
84
  required_ruby_version: !ruby/object:Gem::Requirement
85
+ none: false
65
86
  requirements:
66
- - - '>='
87
+ - - ! '>='
67
88
  - !ruby/object:Gem::Version
68
89
  version: '0'
69
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
+ none: false
70
92
  requirements:
71
- - - '>='
93
+ - - ! '>='
72
94
  - !ruby/object:Gem::Version
73
95
  version: '0'
74
96
  requirements: []
75
97
  rubyforge_project:
76
- rubygems_version: 2.0.3
98
+ rubygems_version: 1.8.23
77
99
  signing_key:
78
- specification_version: 4
100
+ specification_version: 3
79
101
  summary: Support Vector Machine (SVM) based text classification implementation as
80
102
  an OmniCat classifier strategy.
81
103
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 91a42c28a5c6c1878d20d40133b8ea1ccbdebb51
4
- data.tar.gz: 2971bce9748eea77805a5908cdf3068307c12fd8
5
- SHA512:
6
- metadata.gz: f8009a0f886bba902b7309e7253c56233ed0e537e4700c303e00bf3473df2e1f63caffa4801178085b28b82df5dbfd7d08ca42a78accb4fe3a9e3bc09c289853
7
- data.tar.gz: 72aca470174934f1723b4f764790ca2aa26e3efe5001e378957af3af388612d7c7cd42dd91deef86318b080cdf8830ecbfb74cd5231d58ed4a8ce53c04daa7fa