Struct tfidf::tf::BinaryTf
[−]
[src]
pub struct BinaryTf;
Binary weighting scheme for TF. If the document contains the term, returns 1, otherwise returns 0.
Trait Implementations
impl Copy for BinaryTf
[src]
impl Clone for BinaryTf
[src]
fn clone(&self) -> BinaryTf
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<T> Tf<T> for BinaryTf where
T: NaiveDocument,
[src]
T: NaiveDocument,