fast_text
pub fn nn(words: &str, model: &str, k: u32) -> Vec<Vec<(String, f64)>>
Nearest neighbors. Input of "words" are single words separated by spaces.
Full documentation from FastText:
usage: fasttext nn
model filename (optional; 10 by default) predict top k labels