Skip to content

Commit

Permalink
remove debug printing in tf_idf.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan1729 authored Jul 17, 2017
1 parent 81b9a54 commit b4f5040
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/tf_idf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ impl TfIdf {
let tf = self.tf(term);
let idf = self.idf(term);

println!("{:?}", tf);
println!("{:?}", idf);

tf * idf
}

Expand All @@ -102,4 +99,4 @@ fn get_tokenized_and_stemmed(text: &str) -> Vec<String> {
tokenized_text.into_iter()
.map(|text| stem::get(text))
.collect()
}
}

0 comments on commit b4f5040

Please sign in to comment.