Function fast_text::predict_prob [−][src]
pub fn predict_prob(model: &str, inp: &str, k: u32) -> Vec<Vec<(String, f64)>>
Classify each line in an input file with probabilities of labels.
Documentation from fastText:
usage: fasttext predict[-prob]