tomoto 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3e3aa3215e693030f3069cab0fd62686e9d28ad4df6e93ee2e9c7ba9e29286f
4
- data.tar.gz: 98e4f18488132f6130bd9523d8540dd73626e8b3e5a58a1656ce3aa1ddf8234b
3
+ metadata.gz: a7ebf68dfdd1842174f9f8c3b8459de5cb9943f194c0df0e75bad6b2747d7546
4
+ data.tar.gz: 97ed983d26beb5e172dbb42316b67256930032f017e9efabc27d0dbcf419959b
5
5
  SHA512:
6
- metadata.gz: 95b9d0697f58a9149c18cbbdcc7b93aa19dc7f335f12033fc80386a2ca6628bfc3c2a7a9c7299cd192459132f8d467663562de3da733cca00041da24361a6d9f
7
- data.tar.gz: 9c0e12d32aedb8cb0689032f9b0fe54387b9b452a1e26b747137c4115e9813ea491fa09b6851b9e69ca6a3a86df159409d57322c3862b670ae3b3d4f8711469d
6
+ metadata.gz: 5173e759d7091f2621f70b8e45906585a33bdaf3093b4ed9e6ce637e172773e1d0cc7d8233156ec3715707b33de221b42f643582a75aa2e2506bb7de49bb1e11
7
+ data.tar.gz: 0bd48bfe76e6ce72193c9b1b7e2f50967dd76c3125aeb0cbade7dc91979017e5a01d5879c205998ac8af87ef547b2604743d2571190b24730646d847910c1200
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.3.1 (2023-01-12)
2
+
3
+ - Added support for Ruby 3.2
4
+
1
5
  ## 0.3.0 (2022-10-03)
2
6
 
3
7
  - Added precompiled gems for Linux and Mac
data/README.md CHANGED
@@ -12,6 +12,8 @@ Add this line to your application’s Gemfile:
12
12
  gem "tomoto"
13
13
  ```
14
14
 
15
+ ARM is not currently supported
16
+
15
17
  ## Getting Started
16
18
 
17
19
  Train a model
@@ -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
- # AVX-512F not support yet
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
- *[](tomoto::ILDAModel& self, std::vector<std::string> words) {
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
- *[](tomoto::ILDAModel& self, DocumentObject& doc_object, size_t iteration, float tolerance, size_t workers, size_t ps, size_t together) {
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));
@@ -1,3 +1,3 @@
1
1
  module Tomoto
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tomoto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-04 00:00:00.000000000 Z
11
+ date: 2023-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rice
@@ -552,7 +552,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
552
552
  - !ruby/object:Gem::Version
553
553
  version: '0'
554
554
  requirements: []
555
- rubygems_version: 3.3.7
555
+ rubygems_version: 3.4.1
556
556
  signing_key:
557
557
  specification_version: 4
558
558
  summary: High performance topic modeling for Ruby