whisper.cpp/bindings/ruby/tests
KITAITI Makoto 7ffcd05267
ruby : Make context accept initial parameters, API to retrieve a segment and more (#2749)
* Fix type signature for Whisper.log_set

* Use cache file for model when offline

* Extract ruby_whisper_transcribe() into a file

* Extract Whisper::Error

* Use FileList for ext/*.{c,cpp,h}

* Extract Whisper::Segment

* Extract Whisper::Model

* Extract Whisper::Params

* Extract Whisper::Context

* Extract log_callback function

* Write base code in C rather than C++

* Use chdir instead of Dir.chdir in Rakefile

* Define alloc func for Whisper::Model

* Define Whisper::Params' calback and user data reader

* Add test for Whisper::Params.new with keyword arguments

* Make Whisper::Params.new accept keyword arguments

* Update type signatures

* Update README

* Update CLEAN targets

* Fix document comment for Whisper::Params#new_segment_callback=

* Use macro to define params

* Fix dependency of build task

* Set Whisper.finalize_log_callback visibility to private

* Make Whisper::Context#full and full_parallel return self

* Add test for Whisper::Context#full_get_segment

* Add Whisper::Context#full_get_segment

* Update signatures

* Update README

* Fix signature

* Resplace #initialize with .new in signature file [skip ci]

* Fix potential overflow
2025-01-21 09:39:54 +02:00
..
jfk_reader ruby : Sync whisper.cpp and model download feature (#2617) 2024-12-09 13:17:50 +02:00
helper.rb ruby : bug fix on callbacks and no_speech_prob (#2656) 2024-12-21 21:52:06 +02:00
test_callback.rb ruby : Add no_speech_thold (#2641) 2024-12-18 11:00:50 +02:00
test_error.rb ruby : Add low-level methods to transcribe (#2585) 2024-11-28 10:33:07 +02:00
test_model.rb ruby : Fix of C++ header guard name, model URI support, type signature and more (#2683) 2024-12-30 14:26:35 +02:00
test_package.rb ruby : bug fix on callbacks and no_speech_prob (#2656) 2024-12-21 21:52:06 +02:00
test_params.rb ruby : Make context accept initial parameters, API to retrieve a segment and more (#2749) 2025-01-21 09:39:54 +02:00
test_segment.rb ruby : bug fix on callbacks and no_speech_prob (#2656) 2024-12-21 21:52:06 +02:00
test_whisper.rb ruby : Make context accept initial parameters, API to retrieve a segment and more (#2749) 2025-01-21 09:39:54 +02:00