omnicat 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.txt ADDED
@@ -0,0 +1,5 @@
1
+ 0.1.1
2
+ # fix Regexp error for ruby version < 2.0.0
3
+
4
+ 0.1.0
5
+ # init
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # OmniCat
2
2
 
3
+ [![Build Status](https://travis-ci.org/mustafaturan/omnicat.png)](https://travis-ci.org/mustafaturan/omnicat)
4
+
3
5
  A generalized framework for text classifications. For now, it only supports Naive Bayes algorithm for text classification.
4
6
 
5
7
  ## Installation
data/Rakefile CHANGED
@@ -1 +1,20 @@
1
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'" }
20
+ end
@@ -1,3 +1,4 @@
1
+ # encoding: UTF-8
1
2
  class String
2
3
  def omnicat_tokenize
3
4
  self.scan(/([\p{L}\-0-9]{2,})/).collect{ |str_arr| str_arr.first }
@@ -1,3 +1,3 @@
1
1
  module OmniCat
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omnicat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
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-06-15 00:00:00.000000000 Z
12
+ date: 2013-06-16 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bundler
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :development
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,15 +30,17 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rake
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - '>='
35
+ - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
37
  version: '0'
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - '>='
43
+ - - ! '>='
39
44
  - !ruby/object:Gem::Version
40
45
  version: '0'
41
46
  description: A generalized framework for text classifications.
@@ -46,6 +51,7 @@ extensions: []
46
51
  extra_rdoc_files: []
47
52
  files:
48
53
  - .travis.yml
54
+ - CHANGELOG.txt
49
55
  - Gemfile
50
56
  - LICENSE.txt
51
57
  - README.md
@@ -71,25 +77,26 @@ files:
71
77
  homepage: https://github.com/mustafaturan/omnicat
72
78
  licenses:
73
79
  - MIT
74
- metadata: {}
75
80
  post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
79
84
  required_ruby_version: !ruby/object:Gem::Requirement
85
+ none: false
80
86
  requirements:
81
- - - '>='
87
+ - - ! '>='
82
88
  - !ruby/object:Gem::Version
83
89
  version: '0'
84
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
+ none: false
85
92
  requirements:
86
- - - '>='
93
+ - - ! '>='
87
94
  - !ruby/object:Gem::Version
88
95
  version: '0'
89
96
  requirements: []
90
97
  rubyforge_project:
91
- rubygems_version: 2.0.3
98
+ rubygems_version: 1.8.23
92
99
  signing_key:
93
- specification_version: 4
100
+ specification_version: 3
94
101
  summary: A generalized framework for text classifications.
95
102
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 1468554ebab3a7d69abfb6b806ed2acc474a0fbb
4
- data.tar.gz: 7cafcd36ce8030ba19dc1f48f3be8cc016f49c1d
5
- SHA512:
6
- metadata.gz: ce946b646239bfec96ce58bc296d9b866c72603d5113b56fb4c65418b14457fad6072026fe90330250e04dc4467476d874fdd29327253793b10fdf5a90526f37
7
- data.tar.gz: 1281d217ed03836696b9025e368f274941b481ba42d94af5de045fb7c06a6ee231ae8c6bec4e0758fe6e438f707559322f955f60b4c26b7f0e3c1ad3993328b1