pub struct SttScore {
pub fixture_id: String,
pub wer: f64,
pub cer: f64,
pub empty_hypothesis: bool,
pub ref_words: usize,
pub hyp_words: usize,
pub timestamps_reliable: bool,
pub silence_false_positive: bool,
pub repetition_ratio: f64,
}Expand description
STT scoring result for one hypothesis.
Fields§
§fixture_id: String§wer: f64§cer: f64§empty_hypothesis: bool§ref_words: usize§hyp_words: usize§timestamps_reliable: boolTrue when backend timestamps are claimed reliable (host-supplied).
silence_false_positive: boolNon-empty hypothesis when the reference is empty (silence false positive).
repetition_ratio: f64Rough degeneration proxy: max run of identical tokens / hyp length.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SttScore
impl<'de> Deserialize<'de> for SttScore
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for SttScore
Auto Trait Implementations§
impl Freeze for SttScore
impl RefUnwindSafe for SttScore
impl Send for SttScore
impl Sync for SttScore
impl Unpin for SttScore
impl UnsafeUnpin for SttScore
impl UnwindSafe for SttScore
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more