old_norwegian_dictionary

Crates.ioold_norwegian_dictionary
lib.rsold_norwegian_dictionary
version2.0.0
sourcesrc
created_at2022-01-22 14:40:00.656061
updated_at2022-04-18 06:27:20.296473
descriptionOld Norwegian/Norse Dictionary for Rust. The dictionary consists of 40 000+ Old Norse words with Norwegian translations.
homepage
repositoryhttps://github.com/stscoundrel/old-norwegian-dictionary-rs
max_upload_size
id519170
size17,810,598
Sampo Silvennoinen (stscoundrel)

documentation

README

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.

Commit count: 22

cargo fmt