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 +4 -4
- data/CHANGELOG.md +11 -0
- data/README.md +1 -1
- data/ext/tomoto/extconf.rb +4 -2
- 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/{2.7 → 3.3}/tomoto.bundle +0 -0
- data/lib/tomoto/version.rb +1 -1
- data/lib/tomoto.rb +14 -14
- data/vendor/tomotopy/README.kr.rst +27 -1
- data/vendor/tomotopy/README.rst +27 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65be8caabf2a47a4ae86bd72e374a308d3c78d251e75d0d3b3e36ace9dc97205
|
4
|
+
data.tar.gz: cfc13ddbe9fc555e3f28b9b155a9e0aa7e6243ac9fc3865c8d3435035b080cca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
|
data/ext/tomoto/extconf.rb
CHANGED
@@ -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
|
data/lib/tomoto/version.rb
CHANGED
data/lib/tomoto.rb
CHANGED
@@ -6,20 +6,20 @@ rescue LoadError
|
|
6
6
|
end
|
7
7
|
|
8
8
|
# modules
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
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 아키텍처에 대한 지원을 추가했습니다.
|
data/vendor/tomotopy/README.rst
CHANGED
@@ -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.
|
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:
|
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: '
|
127
|
+
version: '3.0'
|
128
128
|
- - "<"
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: 3.
|
130
|
+
version: 3.4.dev
|
131
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
132
|
requirements:
|
133
133
|
- - ">="
|