Trait SmoothingFactor
tfidf
pub trait SmoothingFactor { fn factor() -> f64; }
A strategy that uses a smoothing factor.
fn factor() -> f64
Returns a smoothing factor.
impl SmoothingFactor for InverseFrequencyIdf
impl SmoothingFactor for InverseFrequencySmoothIdf