tomoto 0.3.3-x86_64-linux → 0.4.1-x86_64-linux

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: 2bac6fcf87194d591166c8adaa6a5cf5e46a5c31b8c7a9b88b7924d41f3888a2
4
- data.tar.gz: '0549edad5ab0133ea02b86b53b59e6bd76c3a4b9251ecbfb1b4525d1c721d287'
3
+ metadata.gz: 6e1d2c7036ff2fbdf690a5c6870f8fa94d5ae7c7b4a8a3503a4633ca4a493fe9
4
+ data.tar.gz: 81279fd393a8b2290529825b045f445794e4165269741ed07c2165ff74e464df
5
5
  SHA512:
6
- metadata.gz: fffeaedac57ec10c59faf46ad0179394c94d05f098e0d32e0228bb744a80f3207b700a9acf1b1fe862ce6832274936f881b5566fddd4d4301583fdc22ce3a677
7
- data.tar.gz: 974fd982373f3b7a90eea1eeb48f9e889656a1f10e5c2886ad38901d79f3e67983fd56fc696a44112c2d6f02c406a0e4b8de2a040ea60454baa9bdb10b22a1bb
6
+ metadata.gz: 9bb8ec0e072c7fc30c0837e00a95830eda1e71cd70e8b8a3471fd7489067dce5886dc586d4857ee4bbe8164a28e7a9625e368393883c95d65d29eeed97035ea3
7
+ data.tar.gz: 95663d9096f987931f2327d6d39b11ede82a4775dc50218d7eadf897d50c70df2b4c71ff69a5da23c056c4f837ed0ddaabeb792fad62eca406a87e3b0e4ade1f
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: x86_64-linux
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.so
40
39
  - lib/tomoto/3.0/tomoto.so
41
40
  - lib/tomoto/3.1/tomoto.so
42
41
  - lib/tomoto/3.2/tomoto.so
42
+ - lib/tomoto/3.3/tomoto.so
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
  - - ">="