lda-ruby 0.3.4 → 0.3.5

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.4
2
+ =============
3
+
4
+ - Bug fix by Rio Akasaka, fixes issues with segfaults under Ruby 1.9.2
5
+
1
6
  Version 0.3.1
2
7
  =============
3
8
 
@@ -19,4 +24,4 @@ Version 0.2.3
19
24
  Version 0.2.2
20
25
  =============
21
26
 
22
- - First stable release
27
+ - First stable release
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 3
4
- :patch: 4
4
+ :patch: 5
5
5
  :build:
@@ -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.4"
8
+ s.version = "0.3.5"
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-07-29}
12
+ s.date = %q{2011-08-03}
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"]
@@ -27,7 +27,7 @@ module Lda
27
27
  @tokens.each { |t| vocab[t] = vocab[t] + 1 }
28
28
 
29
29
  vocab.each_pair do |word, count|
30
- @words << @corpus.vocabulary.check_word(word)
30
+ @words << @corpus.vocabulary.check_word(word) - 1
31
31
  @counts << count
32
32
  end
33
33
 
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.4
4
+ version: 0.3.5
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-07-29 00:00:00.000000000 -04:00
14
+ date: 2011-08-03 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: &2161566540 !ruby/object:Gem::Requirement
19
+ requirement: &2153196880 !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: *2161566540
27
+ version_requirements: *2153196880
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: []