tomoto 0.3.0-x86_64-darwin → 0.3.1-x86_64-darwin
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.bundle +0 -0
- data/lib/tomoto/3.0/tomoto.bundle +0 -0
- data/lib/tomoto/3.1/tomoto.bundle +0 -0
- data/lib/tomoto/3.2/tomoto.bundle +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: 3491de664af833b4524812895f15b9939976eb5014dd4812e70f2a497a666d67
|
4
|
+
data.tar.gz: 65b39aa5e4ff68d68a6f0d11dc3caf62b4d709d29f1f1fb24a4bb4219f3151b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cf24cb5bca2263a28044e8fb6298cd39192f28ff7fdfe085470a45b17ebebbf69c75a12bd1d9c61766998a407bf128838419a73c7646ba4218bd6626ce192bf
|
7
|
+
data.tar.gz: 6cae693808f346e69f2a7817803b1fe2c2c94af936f8b8929e86f2518976949b401dec159d3ab035c4d6aedec44734521a8763a9dcb7acd83dba696888389612
|
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));
|
Binary file
|
Binary file
|
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-darwin
|
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.bundle
|
40
40
|
- lib/tomoto/3.0/tomoto.bundle
|
41
41
|
- lib/tomoto/3.1/tomoto.bundle
|
42
|
+
- lib/tomoto/3.2/tomoto.bundle
|
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: []
|