tomoto 0.3.0-x86_64-linux → 0.3.1-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -0
- data/ext/tomoto/extconf.rb +4 -1
- data/ext/tomoto/lda.cpp +2 -2
- data/lib/tomoto/2.7/tomoto.so +0 -0
- data/lib/tomoto/3.0/tomoto.so +0 -0
- data/lib/tomoto/3.1/tomoto.so +0 -0
- data/lib/tomoto/3.2/tomoto.so +0 -0
- data/lib/tomoto/version.rb +1 -1
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 285b069e5bcc9a74ff332999e0afd75930ba08eeaac0b6d7a3782da1fd69cbda
|
4
|
+
data.tar.gz: 69f1115e5d55b918f75ffdc354a3c6574783d810aaf959d4bb8a8ad130cf35d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b330c5fed371f04564a1c7025c5009e72a88eea277267916a57cc45b96062ef3cda0d4374144088c4a4de60bda1386f3ba713a0c75ff048fab633a0893dfb8f
|
7
|
+
data.tar.gz: e4e14495a6480e4d54d7488cf37443b6894692bfbb39ed7a6bbea56182f957a29f56b02c49afcf2de22b46744a35525bcb2785a513c80268f51fc57e401dd554
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/ext/tomoto/extconf.rb
CHANGED
@@ -3,7 +3,10 @@ require "mkmf-rice"
|
|
3
3
|
$CXXFLAGS += " -std=c++17 $(optflags) -DEIGEN_MPL2_ONLY"
|
4
4
|
|
5
5
|
unless ENV["RUBY_CC_VERSION"]
|
6
|
-
#
|
6
|
+
# ARM not supported yet
|
7
|
+
# https://github.com/bab2min/tomotopy/issues/170
|
8
|
+
|
9
|
+
# AVX-512F not supported yet
|
7
10
|
# https://github.com/bab2min/tomotopy/issues/188
|
8
11
|
$CXXFLAGS << " " << with_config("optflags", "-march=native -mno-avx512f")
|
9
12
|
end
|
data/ext/tomoto/lda.cpp
CHANGED
@@ -49,12 +49,12 @@ void init_lda(Rice::Module& m) {
|
|
49
49
|
})
|
50
50
|
.define_method(
|
51
51
|
"_make_doc",
|
52
|
-
|
52
|
+
[](tomoto::ILDAModel& self, std::vector<std::string> words) {
|
53
53
|
return DocumentObject(self.makeDoc(buildDoc(words)).release(), &self);
|
54
54
|
})
|
55
55
|
.define_method(
|
56
56
|
"_infer",
|
57
|
-
|
57
|
+
[](tomoto::ILDAModel& self, DocumentObject& doc_object, size_t iteration, float tolerance, size_t workers, size_t ps, size_t together) {
|
58
58
|
std::vector<tomoto::DocumentBase*> docs;
|
59
59
|
auto doc = doc_object.doc;
|
60
60
|
docs.emplace_back(const_cast<tomoto::DocumentBase*>(doc));
|
data/lib/tomoto/2.7/tomoto.so
CHANGED
Binary file
|
data/lib/tomoto/3.0/tomoto.so
CHANGED
Binary file
|
data/lib/tomoto/3.1/tomoto.so
CHANGED
Binary file
|
Binary file
|
data/lib/tomoto/version.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tomoto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
13
|
+
description:
|
14
14
|
email: andrew@ankane.org
|
15
15
|
executables: []
|
16
16
|
extensions: []
|
@@ -39,6 +39,7 @@ files:
|
|
39
39
|
- lib/tomoto/2.7/tomoto.so
|
40
40
|
- lib/tomoto/3.0/tomoto.so
|
41
41
|
- lib/tomoto/3.1/tomoto.so
|
42
|
+
- lib/tomoto/3.2/tomoto.so
|
42
43
|
- lib/tomoto/ct.rb
|
43
44
|
- lib/tomoto/dmr.rb
|
44
45
|
- lib/tomoto/dt.rb
|
@@ -115,7 +116,7 @@ homepage: https://github.com/ankane/tomoto-ruby
|
|
115
116
|
licenses:
|
116
117
|
- MIT
|
117
118
|
metadata: {}
|
118
|
-
post_install_message:
|
119
|
+
post_install_message:
|
119
120
|
rdoc_options: []
|
120
121
|
require_paths:
|
121
122
|
- lib
|
@@ -126,15 +127,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
126
127
|
version: '2.7'
|
127
128
|
- - "<"
|
128
129
|
- !ruby/object:Gem::Version
|
129
|
-
version: 3.
|
130
|
+
version: 3.3.dev
|
130
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
132
|
requirements:
|
132
133
|
- - ">="
|
133
134
|
- !ruby/object:Gem::Version
|
134
135
|
version: '0'
|
135
136
|
requirements: []
|
136
|
-
rubygems_version: 3.3.
|
137
|
-
signing_key:
|
137
|
+
rubygems_version: 3.3.26
|
138
|
+
signing_key:
|
138
139
|
specification_version: 4
|
139
140
|
summary: High performance topic modeling for Ruby
|
140
141
|
test_files: []
|