Old Norwegian/Norse Dictionary for Python. From 'Dictionary of the Old Norwegian Language'
Project description
Old Norwegian Dictionary
Old Norwegian/Norse Dictionary for Python. The dictionary consists of 40 000+ Old Norse words with Norwegian translations.
Based on "Dictionary of the Old Norwegian Language".
Install
pip install old-norwegian-dictionary
Usage
The project provides a getter for the whole dataset. You can use it in your script to populate your own database or otherwise use the data.
Should you want to use the data without this Python library, you might want to check Old Norwegian Dictionary Builder
from old_norwegian_dictionary import get_dictionary
# Whole dictionary of +42 000 entries
dictionary = get_dictionary()
# Dictionaries return entries that consist of headword, part of speech and definition.
print(dictionary[25000].word) # náðuliga
print(dictionary[25000].part_of_speech) # adv
print(dictionary[25000].definition) # náðuliga, adv. 1) i Stilhed, ubemærket; hann bauð at hafa [...and more]
Individual words are returned in format of:
{
word: str
part_of_speech: str
definition: str
}
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file old-norwegian-dictionary-0.9.0.tar.gz
.
File metadata
- Download URL: old-norwegian-dictionary-0.9.0.tar.gz
- Upload date:
- Size: 6.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c677ed01683d8d556c4c6e8818842e5fb9ccf75514e439a92bcce191cb60964e |
|
MD5 | 67ad874f91ef048afb31a1e05ac61177 |
|
BLAKE2b-256 | da82e64a8f6d4d0e8572985ca8beecab4d848104ae1826a0f67398379252cada |
File details
Details for the file old_norwegian_dictionary-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: old_norwegian_dictionary-0.9.0-py3-none-any.whl
- Upload date:
- Size: 6.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07c3565457245d254cc6508f31ef6a76804e7096a13f310b363a8cf1f5ce9985 |
|
MD5 | 47ac1ace23d58418a7e36f55b0fa7817 |
|
BLAKE2b-256 | e2be12603ce20ef4dfeffff739ec3fb2508789964da0b16c29ab7d995aa4e492 |