whisper.cpp/bindings/ruby/test
KITAITI Makoto 941bdabbe4
ruby : add Whisper::Context::Params, fix token memory management (#3647)
* Don't convert to temporary VALUE

* Define Whisper::Context::Params

* Add test for Whisper::Context::Params

* Implement Whisper::Context::Params

* Add tests for Context::Params

* Fix Whisper::Token memory management

* Add test for token_timestamps

* Make Context accept Context::Params

* Make Context::Params.new accept keyword args

* Add test for Context::Params.new with keyword args

* Add signature of Context::Params

* Add example for Whisper::Token

* Fix typos

* Revert "Don't convert to temporary VALUE"

This reverts commit dee66e7384.

* Hold Token#text as Ruby objectd

* Don't use pointer for ruby_whisper_context_params.params

* Use RUBY_DEFAULT_FREE instead of custom function

* Update bindings/ruby/README.md

Co-authored-by: Daniel Bevenius <daniel.bevenius@gmail.com>

* Add document for Whisper::Context::Params

---------

Co-authored-by: Daniel Bevenius <daniel.bevenius@gmail.com>
2026-02-04 20:33:09 +09:00
..
jfk_reader ruby : Add parallel transcription support (#3222) 2025-06-04 14:50:18 +09:00
helper.rb ruby : specify Apple frameworks explicitly on build (#3270) 2025-06-23 06:34:05 +02:00
test_callback.rb ruby : Add parallel transcription support (#3222) 2025-06-04 14:50:18 +09:00
test_context_params.rb ruby : add Whisper::Context::Params, fix token memory management (#3647) 2026-02-04 20:33:09 +09:00
test_error.rb ruby : Add parallel transcription support (#3222) 2025-06-04 14:50:18 +09:00
test_model.rb ruby : Add parallel transcription support (#3222) 2025-06-04 14:50:18 +09:00
test_package.rb ruby : add Whisper::VERSION (#3292) 2025-06-27 04:41:26 +02:00
test_params.rb vad : Silero VAD v6.2.0 (#3524) 2025-11-17 22:26:17 +09:00
test_segment.rb ruby : tiny bug fix (#3490) 2025-10-29 03:50:44 +09:00
test_token.rb ruby : add Whisper::Context::Params, fix token memory management (#3647) 2026-02-04 20:33:09 +09:00
test_vad_context.rb ruby : add VAD::Context#segments_from_samples, allow Pathname, etc. (#3633) 2026-01-30 22:59:36 +09:00
test_vad_params.rb ruby : Add parallel transcription support (#3222) 2025-06-04 14:50:18 +09:00
test_vad_segment.rb ruby : VAD separately from ASR (#3518) 2025-11-13 10:15:26 +09:00
test_vad_segments.rb ruby : VAD separately from ASR (#3518) 2025-11-13 10:15:26 +09:00
test_vad.rb vad : Silero VAD v6.2.0 (#3524) 2025-11-17 22:26:17 +09:00
test_whisper.rb ruby : add VAD::Context#segments_from_samples, allow Pathname, etc. (#3633) 2026-01-30 22:59:36 +09:00