pub struct Heard {
pub segment: TranscriptSegment,
pub verdict: Verdict,
pub span: Option<Range<u64>>,
pub at: u64,
}Available on crate feature
silero and non-target_family=wasm only.Expand description
One finalized segment, as the labeler judged it.
Fields§
§segment: TranscriptSegment§verdict: Verdict§span: Option<Range<u64>>Where the segment’s words sit in the recording’s stream, when the
engine timed them. None otherwise — the decoder’s own position runs
ahead of the words it has emitted, so it cannot stand in for theirs.
at: u64Where the transcript timestamps the segment: the start of
Self::span, or of the decode window when the engine timed nothing.
Auto Trait Implementations§
impl Freeze for Heard
impl RefUnwindSafe for Heard
impl Send for Heard
impl Sync for Heard
impl Unpin for Heard
impl UnsafeUnpin for Heard
impl UnwindSafe for Heard
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more