pub fn get_dictionary() -> Result<Vec<DictionaryEntry>, &'static str>
Expand description

Get full list of dictionary words. This version contains strong and italic HTML tags to match the layout of the printed book.

Examples

use old_icelandic_zoega::{get_dictionary, DictionaryEntry};
 
let dictionary: Vec<DictionaryEntry> = get_dictionary().unwrap();
 
println!("First word is {}, first definition for it being {}", &dictionary[0].word, &dictionary[0].definitions[0])