pub struct KeywordScorer;Expand description
Scores output against expected keyword presence/absence.
Score = (contains_matches + not_contains_matches) / total_expectations. Case-insensitive matching.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeywordScorer
impl RefUnwindSafe for KeywordScorer
impl Send for KeywordScorer
impl Sync for KeywordScorer
impl Unpin for KeywordScorer
impl UnsafeUnpin for KeywordScorer
impl UnwindSafe for KeywordScorer
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