Function old_icelandic_zoega::get_no_markup_dictionary
source · pub fn get_no_markup_dictionary() -> Result<Vec<DictionaryEntry>, &'static str>
Expand description
Get full list of dictionary words. This version does not contain additional HTML formatting or any tags.
Examples
use old_icelandic_zoega::{get_no_markup_dictionary, DictionaryEntry};
let dictionary: Vec<DictionaryEntry> = get_no_markup_dictionary().unwrap();
println!("First word is {}, first definition for it being {}", &dictionary[0].word, &dictionary[0].definitions[0])