input_to_words

Function input_to_words 

Source
pub fn input_to_words(
    input: &str,
    dictionary: &HashMap<String, HashSet<String>>,
) -> Result<Vec<Word>, String>
Expand description

Parse the input string into a vector of Words. Returns None if the input string contains a word that is not possible in the dictionary