pub(crate) struct TakeModels {
pub(crate) asr: ModelSpec,
pub(crate) normalizer: Option<ModelSpec>,
pub(crate) language: Option<String>,
}Expand description
The models a take ran under: the resolved specs the engine was built with.
Fields§
§asr: ModelSpec§normalizer: Option<ModelSpec>None when no normalizer is configured.
language: Option<String>The language hint, None when the run autodetects.
Implementations§
Source§impl TakeModels
impl TakeModels
pub(crate) fn from_config(cfg: &Config) -> Self
Auto Trait Implementations§
impl Freeze for TakeModels
impl RefUnwindSafe for TakeModels
impl Send for TakeModels
impl Sync for TakeModels
impl Unpin for TakeModels
impl UnsafeUnpin for TakeModels
impl UnwindSafe for TakeModels
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