lda-ruby 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/CHANGELOG +22 -0
- data/README +21 -0
- data/README.markdown +38 -0
- data/Rakefile +58 -0
- data/VERSION.yml +4 -0
- data/ext/lda-ruby/Makefile +181 -0
- data/ext/lda-ruby/cokus.c +145 -0
- data/ext/lda-ruby/cokus.h +27 -0
- data/ext/lda-ruby/extconf.rb +9 -0
- data/ext/lda-ruby/lda-alpha.c +96 -0
- data/ext/lda-ruby/lda-alpha.h +21 -0
- data/ext/lda-ruby/lda-data.c +67 -0
- data/ext/lda-ruby/lda-data.h +14 -0
- data/ext/lda-ruby/lda-inference.c +1007 -0
- data/ext/lda-ruby/lda-inference.h +63 -0
- data/ext/lda-ruby/lda-model.c +345 -0
- data/ext/lda-ruby/lda-model.h +29 -0
- data/ext/lda-ruby/lda.h +54 -0
- data/ext/lda-ruby/utils.c +111 -0
- data/ext/lda-ruby/utils.h +18 -0
- data/lda-ruby.gemspec +78 -0
- data/lib/lda-ruby.rb +168 -0
- data/lib/lda-ruby/corpus/corpus.rb +34 -0
- data/lib/lda-ruby/corpus/data_corpus.rb +22 -0
- data/lib/lda-ruby/corpus/directory_corpus.rb +25 -0
- data/lib/lda-ruby/corpus/text_corpus.rb +22 -0
- data/lib/lda-ruby/document/data_document.rb +30 -0
- data/lib/lda-ruby/document/document.rb +36 -0
- data/lib/lda-ruby/document/text_document.rb +37 -0
- data/lib/lda-ruby/vocabulary.rb +46 -0
- data/license.txt +504 -0
- data/test/data/.gitignore +2 -0
- data/test/data/docs.dat +46 -0
- data/test/data/wiki-test-docs.yml +123 -0
- data/test/lda_ruby_test.rb +274 -0
- data/test/test_helper.rb +10 -0
- metadata +95 -0
data/test/test_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: lda-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- David Blei
|
8
|
+
- Jason Adams
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2009-08-11 00:00:00 -04:00
|
14
|
+
default_executable:
|
15
|
+
dependencies: []
|
16
|
+
|
17
|
+
description: Ruby port of Latent Dirichlet Allocation by David M. Blei. See http://www.cs.princeton.edu/~blei/lda-c/.
|
18
|
+
email: jasonmadams@gmail.com
|
19
|
+
executables: []
|
20
|
+
|
21
|
+
extensions:
|
22
|
+
- ext/lda-ruby/extconf.rb
|
23
|
+
extra_rdoc_files:
|
24
|
+
- README
|
25
|
+
- README.markdown
|
26
|
+
files:
|
27
|
+
- .gitignore
|
28
|
+
- CHANGELOG
|
29
|
+
- README
|
30
|
+
- README.markdown
|
31
|
+
- Rakefile
|
32
|
+
- VERSION.yml
|
33
|
+
- ext/lda-ruby/Makefile
|
34
|
+
- ext/lda-ruby/cokus.c
|
35
|
+
- ext/lda-ruby/cokus.h
|
36
|
+
- ext/lda-ruby/extconf.rb
|
37
|
+
- ext/lda-ruby/lda-alpha.c
|
38
|
+
- ext/lda-ruby/lda-alpha.h
|
39
|
+
- ext/lda-ruby/lda-data.c
|
40
|
+
- ext/lda-ruby/lda-data.h
|
41
|
+
- ext/lda-ruby/lda-inference.c
|
42
|
+
- ext/lda-ruby/lda-inference.h
|
43
|
+
- ext/lda-ruby/lda-model.c
|
44
|
+
- ext/lda-ruby/lda-model.h
|
45
|
+
- ext/lda-ruby/lda.h
|
46
|
+
- ext/lda-ruby/utils.c
|
47
|
+
- ext/lda-ruby/utils.h
|
48
|
+
- lda-ruby.gemspec
|
49
|
+
- lib/lda-ruby.rb
|
50
|
+
- lib/lda-ruby/corpus/corpus.rb
|
51
|
+
- lib/lda-ruby/corpus/data_corpus.rb
|
52
|
+
- lib/lda-ruby/corpus/directory_corpus.rb
|
53
|
+
- lib/lda-ruby/corpus/text_corpus.rb
|
54
|
+
- lib/lda-ruby/document/data_document.rb
|
55
|
+
- lib/lda-ruby/document/document.rb
|
56
|
+
- lib/lda-ruby/document/text_document.rb
|
57
|
+
- lib/lda-ruby/vocabulary.rb
|
58
|
+
- license.txt
|
59
|
+
- test/data/.gitignore
|
60
|
+
- test/data/docs.dat
|
61
|
+
- test/data/wiki-test-docs.yml
|
62
|
+
- test/lda_ruby_test.rb
|
63
|
+
- test/test_helper.rb
|
64
|
+
has_rdoc: true
|
65
|
+
homepage: http://github.com/ealdent/lda-ruby
|
66
|
+
licenses: []
|
67
|
+
|
68
|
+
post_install_message:
|
69
|
+
rdoc_options:
|
70
|
+
- --charset=UTF-8
|
71
|
+
require_paths:
|
72
|
+
- lib
|
73
|
+
- ext
|
74
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: "0"
|
79
|
+
version:
|
80
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: "0"
|
85
|
+
version:
|
86
|
+
requirements: []
|
87
|
+
|
88
|
+
rubyforge_project:
|
89
|
+
rubygems_version: 1.3.4
|
90
|
+
signing_key:
|
91
|
+
specification_version: 3
|
92
|
+
summary: Ruby port of Latent Dirichlet Allocation by David M. Blei.
|
93
|
+
test_files:
|
94
|
+
- test/lda_ruby_test.rb
|
95
|
+
- test/test_helper.rb
|