Old Norwegian/Norse Dictionary for Rust. The dictionary consists of 40 000+ Old Norse words with Norwegian translations.
Based on "Dictionary of the Old Norwegian Language".
Add this to your Cargo.toml
:
toml
[dependencies]
old_norwegian_dictionary = "2.0.0"
```rust use oldnorwegiandictionary::{get_dictionary, DictionaryEntry};
// Whole dictionary as an array of DictionaryEntries. let dictionary = get_dictionary();
let dictionarycontent: [DictionaryEntry; 42021] = getdictionary();
println!("A word from dictionary: {}. Its definition is: {}. Its type if {}", &dictionarycontent[0].word, &dictionarycontent[0].definition, &dictionarycontent[0].partof_speech) ```
"Ordbog over det gamle norske Sprog" dictionary was published in late 1800s by Johan Fritzner. Its is the largest Old Norse to Norwegian dictionary, containing over 40 000 word definitions. While the original dictionary is called dictionary of "old norwegian", it is practically a dictionary of western Old Norse. Technically "Old Norwegian" would be a later stage in the language.