whisper.cpp
ruby: New segment callback
#2506
Merged

ruby: New segment callback #2506

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

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone