bow_tfidf 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,6 +20,8 @@ module BowTfidf
20
20
  result
21
21
  end
22
22
 
23
+ private
24
+
23
25
  def find_word(word)
24
26
  bow.words[word]
25
27
  end
@@ -30,8 +32,6 @@ module BowTfidf
30
32
  bow.categories.values.find { |category| category[:id] == id }
31
33
  end
32
34
 
33
- private
34
-
35
35
  def process_word(word)
36
36
  return unless (word_data = find_word(word.to_s))
37
37
 
@@ -1,3 +1,3 @@
1
1
  module BowTfidf
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bow_tfidf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - isidzukuri
@@ -66,14 +66,36 @@ executables: []
66
66
  extensions: []
67
67
  extra_rdoc_files: []
68
68
  files:
69
+ - ".yardoc/checksums"
70
+ - ".yardoc/complete"
71
+ - ".yardoc/object_types"
72
+ - ".yardoc/objects/root.dat"
73
+ - ".yardoc/proxy_types"
69
74
  - Gemfile
70
- - Gemfile.lock
71
75
  - README.md
72
76
  - Rakefile
73
77
  - bin/console
74
78
  - bin/setup
75
- - bow_tfidf-0.1.0.gem
76
79
  - bow_tfidf.gemspec
80
+ - doc/BowTfidf.html
81
+ - doc/BowTfidf/BagOfWords.html
82
+ - doc/BowTfidf/Classifier.html
83
+ - doc/BowTfidf/Computation.html
84
+ - doc/BowTfidf/Tokenizer.html
85
+ - doc/_index.html
86
+ - doc/class_list.html
87
+ - doc/css/common.css
88
+ - doc/css/full_list.css
89
+ - doc/css/style.css
90
+ - doc/file.README.html
91
+ - doc/file_list.html
92
+ - doc/frames.html
93
+ - doc/index.html
94
+ - doc/js/app.js
95
+ - doc/js/full_list.js
96
+ - doc/js/jquery.js
97
+ - doc/method_list.html
98
+ - doc/top-level-namespace.html
77
99
  - lib/bow_tfidf.rb
78
100
  - lib/bow_tfidf/bag_of_words.rb
79
101
  - lib/bow_tfidf/classifier.rb
@@ -1,34 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- bow_tfidf (0.1.0)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- diff-lcs (1.2.5)
10
- rake (10.1.0)
11
- rspec (3.1.0)
12
- rspec-core (~> 3.1.0)
13
- rspec-expectations (~> 3.1.0)
14
- rspec-mocks (~> 3.1.0)
15
- rspec-core (3.1.7)
16
- rspec-support (~> 3.1.0)
17
- rspec-expectations (3.1.2)
18
- diff-lcs (>= 1.2.0, < 2.0)
19
- rspec-support (~> 3.1.0)
20
- rspec-mocks (3.1.3)
21
- rspec-support (~> 3.1.0)
22
- rspec-support (3.1.2)
23
-
24
- PLATFORMS
25
- ruby
26
-
27
- DEPENDENCIES
28
- bow_tfidf!
29
- bundler (~> 1.13)
30
- rake (~> 10.0)
31
- rspec
32
-
33
- BUNDLED WITH
34
- 1.16.0
Binary file