ruby: New segment callback #2506
KitaitiMakoto
changed the title New segment callback ruby: New segment callback 1 year ago
ggerganov
approved these changes
on 2024-10-28
Add Params#new_segment_callback= method
246793c7
Add tests for Params#new_segment_callback=
2ccddb95
Group tests for #transcribe
0c1ff901
Don't use static for thread-safety
1d2d772b
Set new_segment_callback only when necessary
37aa3c69
Remove redundant check
3fec5d35
[skip ci] Add Ruby version README
be67fa25
Revert "Group tests for #transcribe"
58d3fb66
Revert "Add tests for Params#new_segment_callback="
cee8c6af
Add test for Context#full_n_segments
b589895e
Add Context#full_n_segments
8990107e
Add tests for lang API
a175c5c6
Add lang API
1c74fdc0
Add tests for Context#full_lang_id API
588aa1ca
Add Context#full_lang_id
6e620763
Add abnormal test cases for lang
ad55836c
Raise appropriate errors from lang APIs
e0255a5a
Add tests for Context#full_get_segment_t{0,1} API
09eb66d8
Add Context#full_get_segment_t{0,1}
4f261f6c
Add tests for Context#full_get_segment_speaker_turn_next API
d69e0bed
Add Context#full_get_segment_speaker_turn_next
9902dcc8
Add tests for Context#full_get_segment_text
beba5393
Add Context#full_get_setgment_text
63830b6c
Add tests for Params#new_segment_callback=
0d1ec5f1
Run new segment callback
084f450e
Split tests to multiple files
6128e05c
Use container struct for new segment callback
c2de24a3
Add tests for Params#new_segment_callback_user_data=
3f280134
Add Whisper::Params#new_user_callback_user_data=
bb4e81c9
Add GC-related test for new segment callback
f4115078
Protect new segment callback related structs from GC
79617d7b
Add meaningful test for build
eae174ee
Rename: new_segment_callback_user_data -> new_segment_callback_container
30c00c13
Add tests for Whisper::Segment
e7f75f15
Add Whisper::Segment and Whisper::Context#each_segment
326055a9
Extract c_ruby_whisper_callback_container_allocate()
1132c9e3
Add test for Whisper::Params#on_new_segment
ba0fbec6
Add Whisper::Params#on_new_egment
56c2dfd0
Assign symbol IDs to variables
87797cc6
Make extsources.yaml simpler
d94710ca
Update README
a0cfc229
Add document comments
2f925ca1
Add test for calling Whisper::Params#on_new_segment multiple times
c94c8d4c
Add file dependencies to GitHub actions config and .gitignore
c5564fc1
Add more files to ext/.gitignore
7a6640a5
ggerganov
merged
fc49ee44
into master 1 year ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub