mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-18 14:00:51 +02:00
whisper : add missing speaker turn API function for whisper_state (#1330)
This commit is contained in:
@@ -485,6 +485,7 @@ extern "C" {
|
||||
|
||||
// Get whether the next segment is predicted as a speaker turn
|
||||
WHISPER_API bool whisper_full_get_segment_speaker_turn_next(struct whisper_context * ctx, int i_segment);
|
||||
WHISPER_API bool whisper_full_get_segment_speaker_turn_next_from_state(struct whisper_state * state, int i_segment);
|
||||
|
||||
// Get the text of the specified segment
|
||||
WHISPER_API const char * whisper_full_get_segment_text (struct whisper_context * ctx, int i_segment);
|
||||
|
Reference in New Issue
Block a user