tomoto 0.3.3-arm64-darwin → 0.4.1-arm64-darwin

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: 5a103162a422fa8a45dcab76b8ee72ea3e7e755d4f924666601f204d868ea13e
4
- data.tar.gz: ac60a94e66a6518bbd36a17e05d3bc79b4bbb0b32b14aa619d1a6cda2cef4b7b
3
+ metadata.gz: 65be8caabf2a47a4ae86bd72e374a308d3c78d251e75d0d3b3e36ace9dc97205
4
+ data.tar.gz: cfc13ddbe9fc555e3f28b9b155a9e0aa7e6243ac9fc3865c8d3435035b080cca
5
5
  SHA512:
6
- metadata.gz: 2d4891fbccb8fcd5572fdbdea4d9ffe6aa7684d16b1690feadad3a99a12b4c799263ba7ae86150ca0980357572ad65e95fcdcb2ce7a47f52ab78140d2752ef53
7
- data.tar.gz: 6d4d3565f2c9db5f4b04f68428006f0ad7de028a1065411f6131e6468a332f53e601a507f92604423aa2eabf0b7a695cfbb5cf62fa622c364e82a13a81ef7465
6
+ metadata.gz: 387c19bc53d521841d47e1a6dad1a8accdfedc021a983dd6f574fb304f320b3b2b581f274a708386297f86ef3ed6c61915cd709c3f0c24dc740033bd25af35f1
7
+ data.tar.gz: aa7f4439d4b839744bc4f1f1ed8a7683963f71d3a8f6f6c4e3a52bcf379d9f13cf909eb151c3d7e43481e4db1b10ee920b7e4fda32b40b57dc8287b4656cfeb3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## 0.4.1 (2024-09-04)
2
+
3
+ - Updated tomoto to 0.13.0
4
+
5
+ ## 0.4.0 (2023-12-28)
6
+
7
+ - Added support for Ruby 3.3
8
+ - Added precompiled gem for Linux ARM
9
+ - Updated tomoto to 0.12.7
10
+ - Dropped support for Ruby < 3
11
+
1
12
  ## 0.3.3 (2023-02-01)
2
13
 
3
14
  - Added `topic_label_dict` method to `LLDA`
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  :tomato: [tomoto](https://github.com/bab2min/tomotopy) - high performance topic modeling - for Ruby
4
4
 
5
- [![Build Status](https://github.com/ankane/tomoto-ruby/workflows/build/badge.svg?branch=master)](https://github.com/ankane/tomoto-ruby/actions)
5
+ [![Build Status](https://github.com/ankane/tomoto-ruby/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/tomoto-ruby/actions)
6
6
 
7
7
  ## Installation
8
8
 
@@ -27,16 +27,18 @@ else
27
27
  end
28
28
 
29
29
  # silence tomoto warnings
30
- $CXXFLAGS += " -Wno-unused-variable -Wno-switch"
30
+ $CXXFLAGS += " -Wno-unused-variable -Wno-switch -Wno-unqualified-std-cast-call"
31
31
 
32
32
  ext = File.expand_path(".", __dir__)
33
33
  tomoto = File.expand_path("../../vendor/tomotopy/src/TopicModel", __dir__)
34
+ tomoto_utils = File.expand_path("../../vendor/tomotopy/src/Utils", __dir__)
34
35
  eigen = File.expand_path("../../vendor/eigen", __dir__)
35
36
  eigen_rand = File.expand_path("../../vendor/EigenRand", __dir__)
36
37
  variant = File.expand_path("../../vendor/variant/include", __dir__)
37
38
 
38
- $srcs = Dir["{#{ext},#{tomoto}}/*.cpp"]
39
+ $srcs = Dir["{#{ext},#{tomoto},#{tomoto_utils}}/*.cpp"]
39
40
  $INCFLAGS += " -I#{tomoto} -I#{eigen} -I#{eigen_rand} -I#{variant}"
40
41
  $VPATH << tomoto
42
+ $VPATH << tomoto_utils
41
43
 
42
44
  create_makefile("tomoto/tomoto")
Binary file
Binary file
Binary file
Binary file
@@ -1,3 +1,3 @@
1
1
  module Tomoto
2
- VERSION = "0.3.3"
2
+ VERSION = "0.4.1"
3
3
  end
data/lib/tomoto.rb CHANGED
@@ -6,20 +6,20 @@ rescue LoadError
6
6
  end
7
7
 
8
8
  # modules
9
- require "tomoto/ct"
10
- require "tomoto/dmr"
11
- require "tomoto/dt"
12
- require "tomoto/gdmr"
13
- require "tomoto/hdp"
14
- require "tomoto/hlda"
15
- require "tomoto/hpa"
16
- require "tomoto/lda"
17
- require "tomoto/llda"
18
- require "tomoto/mglda"
19
- require "tomoto/pa"
20
- require "tomoto/plda"
21
- require "tomoto/slda"
22
- require "tomoto/version"
9
+ require_relative "tomoto/ct"
10
+ require_relative "tomoto/dmr"
11
+ require_relative "tomoto/dt"
12
+ require_relative "tomoto/gdmr"
13
+ require_relative "tomoto/hdp"
14
+ require_relative "tomoto/hlda"
15
+ require_relative "tomoto/hpa"
16
+ require_relative "tomoto/lda"
17
+ require_relative "tomoto/llda"
18
+ require_relative "tomoto/mglda"
19
+ require_relative "tomoto/pa"
20
+ require_relative "tomoto/plda"
21
+ require_relative "tomoto/slda"
22
+ require_relative "tomoto/version"
23
23
 
24
24
  module Tomoto
25
25
  PARALLEL_SCHEME = [:default, :none, :copy_merge, :partition]
@@ -7,7 +7,7 @@ tomotopy
7
7
  .. image:: https://zenodo.org/badge/186155463.svg
8
8
  :target: https://zenodo.org/badge/latestdoi/186155463
9
9
 
10
- 🎌
10
+ 🌐
11
11
  `English`_,
12
12
  **한국어**.
13
13
 
@@ -305,6 +305,32 @@ tomotopy의 Python3 예제 코드는 https://github.com/bab2min/tomotopy/blob/ma
305
305
 
306
306
  역사
307
307
  -------
308
+ * 0.13.0 (2024-08-05)
309
+ * 신규 기능
310
+ * 토픽 모델 뷰어인 `tomotopy.viewer.open_viewer()`의 주요 기능이 완성되었습니다.
311
+ * `tomotopy.LDAModel.get_hash()`가 추가되었습니다. 모델의 128bit 해시를 구해줍니다.
312
+ * `ngram_list` 인자가 `tomotopy.utils.SimpleTokenizer`에 추가되었습니다.
313
+ * Bug fixes
314
+ * `Corpus.concat_ngrams` 호출 후에 `spans`이 비일관적인 버그가 수정되었습니다.
315
+ * `tomotopy.LDAModel.load()`와 `tomotopy.LDAModel.save()`의 병목을 최적화하여 속도를 10배 이상 개선했습니다.
316
+
317
+ * 0.12.7 (2023-12-19)
318
+ * 신규 기능
319
+ * 토픽 모델 뷰어인 `tomotopy.viewer.open_viewer()`가 추가되었습니다.
320
+ * `tomotopy.utils.Corpus.process()`의 속도를 개선했습니다.
321
+ * Bug fixes
322
+ * `Document.span`이 이제 바이트 단위가 아니라 문자 단위로 범위를 제대로 반환합니다.
323
+
324
+ * 0.12.6 (2023-12-11)
325
+ * 신규 기능
326
+ * `tomotopy.LDAModel.train`과 `tomotopy.LDAModel.set_word_prior`에 몇가지 편의 기능을 추가했습니다.
327
+ * `LDAModel.train`가 이제 학습 진행상황을 모니터링할 수 있는 `callback`, `callback_interval`, `show_progres` 인자를 지원합니다.
328
+ * `LDAModel.set_word_prior`가 이제 `prior` 인자로 `Dict[int, float]` 타입도 받을 수 있게 되었습니다.
329
+
330
+ * 0.12.5 (2023-08-03)
331
+ * 신규 기능
332
+ * Linux ARM64 아키텍처에 대한 지원을 추가했습니다.
333
+
308
334
  * 0.12.4 (2023-01-22)
309
335
  * New features
310
336
  * macOS ARM64 아키텍처에 대한 지원을 추가했습니다.
@@ -7,7 +7,7 @@ tomotopy
7
7
  .. image:: https://zenodo.org/badge/186155463.svg
8
8
  :target: https://zenodo.org/badge/latestdoi/186155463
9
9
 
10
- 🎌
10
+ 🌐
11
11
  **English**,
12
12
  `한국어`_.
13
13
 
@@ -309,6 +309,32 @@ meaning you can use it for any reasonable purpose and remain in complete ownersh
309
309
 
310
310
  History
311
311
  -------
312
+ * 0.13.0 (2024-08-05)
313
+ * New features
314
+ * Major features of Topic Model Viewer `tomotopy.viewer.open_viewer()` are ready now.
315
+ * `tomotopy.LDAModel.get_hash()` is added. You can get 128bit hash value of the model.
316
+ * Add an argument `ngram_list` to `tomotopy.utils.SimpleTokenizer`.
317
+ * Bug fixes
318
+ * Fixed inconsistent `spans` bug after `Corpus.concat_ngrams` is called.
319
+ * Optimized the bottleneck of `tomotopy.LDAModel.load()` and `tomotopy.LDAModel.save()` and improved its speed more than 10 times.
320
+
321
+ * 0.12.7 (2023-12-19)
322
+ * New features
323
+ * Added Topic Model Viewer `tomotopy.viewer.open_viewer()`
324
+ * Optimized the performance of `tomotopy.utils.Corpus.process()`
325
+ * Bug fixes
326
+ * `Document.span` now returns the ranges in character unit, not in byte unit.
327
+
328
+ * 0.12.6 (2023-12-11)
329
+ * New features
330
+ * Added some convenience features to `tomotopy.LDAModel.train` and `tomotopy.LDAModel.set_word_prior`.
331
+ * `LDAModel.train` now has new arguments `callback`, `callback_interval` and `show_progres` to monitor the training progress.
332
+ * `LDAModel.set_word_prior` now can accept `Dict[int, float]` type as its argument `prior`.
333
+
334
+ * 0.12.5 (2023-08-03)
335
+ * New features
336
+ * Added support for Linux ARM64 architecture.
337
+
312
338
  * 0.12.4 (2023-01-22)
313
339
  * New features
314
340
  * Added support for macOS ARM64 architecture.
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.3
4
+ version: 0.4.1
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-02 00:00:00.000000000 Z
11
+ date: 2024-09-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: andrew@ankane.org
@@ -36,10 +36,10 @@ files:
36
36
  - ext/tomoto/tomoto.cpp
37
37
  - ext/tomoto/utils.h
38
38
  - lib/tomoto.rb
39
- - lib/tomoto/2.7/tomoto.bundle
40
39
  - lib/tomoto/3.0/tomoto.bundle
41
40
  - lib/tomoto/3.1/tomoto.bundle
42
41
  - lib/tomoto/3.2/tomoto.bundle
42
+ - lib/tomoto/3.3/tomoto.bundle
43
43
  - lib/tomoto/ct.rb
44
44
  - lib/tomoto/dmr.rb
45
45
  - lib/tomoto/dt.rb
@@ -124,10 +124,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
124
124
  requirements:
125
125
  - - ">="
126
126
  - !ruby/object:Gem::Version
127
- version: '2.7'
127
+ version: '3.0'
128
128
  - - "<"
129
129
  - !ruby/object:Gem::Version
130
- version: 3.3.dev
130
+ version: 3.4.dev
131
131
  required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  requirements:
133
133
  - - ">="