pub struct ChrfScore {
pub score: f32,
pub order: usize,
pub beta: f32,
pub word_order: usize,
}Expand description
Character / word n-gram F-score result.
Fields§
§score: f32Final F-score in [0, 1].
order: usizeCharacter n-gram order used.
beta: f32β for the F-score (β>1 weights recall).
word_order: usizeWord n-gram order (0 = chrF, >=1 = chrF++).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChrfScore
impl RefUnwindSafe for ChrfScore
impl Send for ChrfScore
impl Sync for ChrfScore
impl Unpin for ChrfScore
impl UnsafeUnpin for ChrfScore
impl UnwindSafe for ChrfScore
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