#dictionary #old #language #translation #words #norse #norwegian

old_norwegian_dictionary

Old Norwegian/Norse Dictionary for Rust. The dictionary consists of 40 000+ Old Norse words with Norwegian translations.

2 stable releases

2.0.0 Apr 18, 2022
1.0.0 Jan 22, 2022

#16 in #old

MIT license

18MB
210K SLoC

Old Norwegian Dictionary

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".

Install

Add this to your Cargo.toml:

[dependencies]
old_norwegian_dictionary = "2.0.0"

Usage

use old_norwegian_dictionary::{get_dictionary, DictionaryEntry};

// Whole dictionary as an array of DictionaryEntries.
let dictionary = get_dictionary();

let dictionary_content: [DictionaryEntry; 42021] = get_dictionary();

println!("A word from dictionary: {}. Its definition is: {}. Its type if {}", &dictionary_content[0].word, &dictionary_content[0].definition, &dictionary_content[0].part_of_speech)

About "Dictionary of the Old Norwegian Language"

"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.

Dependencies