lda-ruby 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ version 0.3.7
2
+ =============
3
+
4
+ - change stop word removal back (optimization)
5
+
1
6
  version 0.3.6
2
7
  =============
3
8
 
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 3
4
- :patch: 6
4
+ :patch: 7
5
5
  :build:
data/lda-ruby.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{lda-ruby}
8
- s.version = "0.3.6"
8
+ s.version = "0.3.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David Blei", "Jason Adams", "Rio Akasaka"]
12
- s.date = %q{2011-08-05}
12
+ s.date = %q{2011-08-06}
13
13
  s.description = %q{Ruby port of Latent Dirichlet Allocation by David M. Blei. See http://www.cs.princeton.edu/~blei/lda-c/.}
14
14
  s.email = %q{jasonmadams@gmail.com}
15
15
  s.extensions = ["ext/lda-ruby/extconf.rb"]
@@ -7,7 +7,7 @@ module Lda
7
7
  @filename = nil
8
8
 
9
9
  tokenize(text)
10
- @tokens.reject! { |w| @corpus.stopwords.include?(w) }
10
+ @corpus.stopwords.each { |w| @tokens.delete(w) }
11
11
  build_from_tokens
12
12
  end
13
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lda-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,12 +11,12 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2011-08-05 00:00:00.000000000 -04:00
14
+ date: 2011-08-06 00:00:00.000000000 -04:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: shoulda
19
- requirement: &2153224820 !ruby/object:Gem::Requirement
19
+ requirement: &2153174960 !ruby/object:Gem::Requirement
20
20
  none: false
21
21
  requirements:
22
22
  - - ! '>='
@@ -24,7 +24,7 @@ dependencies:
24
24
  version: '0'
25
25
  type: :runtime
26
26
  prerelease: false
27
- version_requirements: *2153224820
27
+ version_requirements: *2153174960
28
28
  description: Ruby port of Latent Dirichlet Allocation by David M. Blei. See http://www.cs.princeton.edu/~blei/lda-c/.
29
29
  email: jasonmadams@gmail.com
30
30
  executables: []