[][src]Function stop_words::vec_to_set

pub fn vec_to_set(words: Vec<String>) -> HashSet<String>

This function converts the standard Vec<String> output to a HashSet<String>

let vec = stop_words::get("nl");
let set = stop_words::vec_to_set(vec);