sherpa-onnx C API 1.0
Public C API and C++ wrapper for sherpa-onnx
Loading...
Searching...
No Matches
sherpa_onnx::cxx::ForcedAlignmentInterval Struct Reference

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

#include <cxx-api.h>

Collaboration diagram for sherpa_onnx::cxx::ForcedAlignmentInterval:

Public Attributes

float start = 0.0f
float end = 0.0f
std::string text

Detailed Description

Definition at line 960 of file cxx-api.h.

Member Data Documentation

◆ end

float sherpa_onnx::cxx::ForcedAlignmentInterval::end = 0.0f

End time in seconds.

Definition at line 969 of file cxx-api.h.

◆ start

float sherpa_onnx::cxx::ForcedAlignmentInterval::start = 0.0f

Start time in seconds.

Definition at line 964 of file cxx-api.h.

◆ text

std::string sherpa_onnx::cxx::ForcedAlignmentInterval::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 977 of file cxx-api.h.


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