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

#include <c-api.h>

Public Attributes

float start
float end
const char * text

Detailed Description

One aligned interval: a phone in the "phones" tier or a word in the "words" tier.

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

Member Data Documentation

◆ end

float SherpaOnnxForcedAlignmentInterval::end

End time in seconds.

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

◆ start

float SherpaOnnxForcedAlignmentInterval::start

Start time in seconds.

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

◆ text

const char* SherpaOnnxForcedAlignmentInterval::text

The text of this interval: the word for a word interval, the phone symbol for a phone interval. It is empty for a silence gap in the "words" tier (Praat interval tiers must tile the full time range, so the gaps between words are reported as intervals with empty text).

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


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