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