Old Norse Dictionary for Python. From The Cleasby & Vigfusson Old Norse to English Dictionary.
Project description
Old Norse Dictionary
Old Norse to English Dictionary for Python. The dictionary consists of 35 000+ Old Norse words with English translations.
Based on the classic dictionary by Richard Cleasby and Gudbrand Vigfusson. If you find this one too abbreviated, academic or hard to read, you might want to check out A Concise Dictionary of Old Icelandic
Install
pip install old-norse-dictionary
Usage
The dictionary comes in two variants:
- Default dictionary has HTML markup
<i>
and<b>
to match look of the original book. - No-markup version has the same content without any additional formatting tags.
from old_norse_dictionary import get_default, get_no_markup
# Both dictionaries return entries that consist of headword, and definitions list.
default = get_default()
no_markup = get_no_markup()
# Headwords wont differ between dictionaries.
print(default[1989].word) # át-frekr
print(no_markup[1989].word) # át-frekr
# But definition markup does differ.
print(default[14].definitions[0]) # adj. <i>greedy, voracious,</i> Hkv. 2. 41.
print(no_markup[14].definitions[0]) # adj. greedy, voracious, Hkv. 2. 41.
Individual words are returned in format of:
{
word: str
definitions: Tuple[str, ...]
}
About Cleasby & Vigfusson Dictionary
"Icelandic-English" dictionary was started by Richard Cleasby and finished by Gudbrand Vigfusson. It was published in 1874, which leads to there being many public domain versions of the book available.
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-norse-dictionary-1.0.0.tar.gz
.
File metadata
- Download URL: old-norse-dictionary-1.0.0.tar.gz
- Upload date:
- Size: 7.6 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 | 0bb0012924929ca3a34e50a0e363692fcda7ac8132a14c9a9c19ba58230a71bd |
|
MD5 | bd32d6000f917469aa672d4f995d2801 |
|
BLAKE2b-256 | 812b433a916d407e25d5b2c07b8081bd30ab6739b7c685f6a12753dfd4f7eed6 |
File details
Details for the file old_norse_dictionary-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: old_norse_dictionary-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.6 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 | 23c60bb50d0f5861cbf4604d7e4329d9379b7db2245df09ff423dff2cb271688 |
|
MD5 | 14ad6c4875e197e953d71d0d509c0a4a |
|
BLAKE2b-256 | dbe0adf311d576665a039259ce0cdef5b98a6b68a892ec56284592f3d16e1110 |