Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stscoundrel/old-norwegian-dictionary-rs
Old Norwegian/Norse Dictionary for Rust. From "Dictionary of the Old Norwegian Language"
https://github.com/stscoundrel/old-norwegian-dictionary-rs
dictionary medieval-languages medieval-norwegian medieval-studies old-icelandic old-norse old-norwegian rust
Last synced: 9 days ago
JSON representation
Old Norwegian/Norse Dictionary for Rust. From "Dictionary of the Old Norwegian Language"
- Host: GitHub
- URL: https://github.com/stscoundrel/old-norwegian-dictionary-rs
- Owner: stscoundrel
- License: mit
- Created: 2022-01-22T13:41:12.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-04T19:33:05.000Z (over 1 year ago)
- Last Synced: 2024-10-07T10:57:01.142Z (3 months ago)
- Topics: dictionary, medieval-languages, medieval-norwegian, medieval-studies, old-icelandic, old-norse, old-norwegian, rust
- Language: Rust
- Homepage: https://docs.rs/old_norwegian_dictionary
- Size: 18.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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`:
```toml
[dependencies]
old_norwegian_dictionary = "2.0.0"
```### Usage
```rust
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.