sherpa-onnx C API 1.0
Public C API and C++ wrapper for sherpa-onnx
Loading...
Searching...
No Matches
SherpaOnnxOfflineSpeakerDiarizationSegment Struct Reference

One diarization segment. More...

#include <c-api.h>

Public Attributes

float start
float end
int32_t speaker
float confidence

Detailed Description

Definition at line 4400 of file c-api.h.

Member Data Documentation

◆ confidence

float SherpaOnnxOfflineSpeakerDiarizationSegment::confidence

Per-segment confidence in [-1, 1] (higher is more confident), or -2 if unavailable (compute_confidence disabled, or the score could not be computed for this segment).

Definition at line 4412 of file c-api.h.

◆ end

float SherpaOnnxOfflineSpeakerDiarizationSegment::end

Segment end time in seconds.

Definition at line 4404 of file c-api.h.

◆ speaker

int32_t SherpaOnnxOfflineSpeakerDiarizationSegment::speaker

Speaker label, typically an integer cluster ID.

Definition at line 4406 of file c-api.h.

◆ start

float SherpaOnnxOfflineSpeakerDiarizationSegment::start

Segment start time in seconds.

Definition at line 4402 of file c-api.h.


The documentation for this struct was generated from the following file: