Old Icelandic dictionary for Python
Project description
Old Icelandic Dictionary
Old Icelandic dictionary for Python. From "A Concise Dictionary of Old Icelandic" by Geir Zoëga
The dictionary consists of 29 000+ Old Icelandic words with English translations.
Install
pip install old-icelandic-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_icelandic_dictionary import get_default, get_no_markup
# Both dictionaries return entries that consist of word definition, and definitions list.
default = get_default()
no_markup = get_no_markup()
# Headwords wont differ between dictionaries.
print(default[14].word) # afbindi
print(no_markup[14].word) # afbindi
# But definition markup does differ.
print(default[14].definitions[0]) # n. <i>constipation</i>.
print(no_markup[14].definitions[0]) # n. constipation.
Individual words are returned in format of:
{
word: str
definitions: Tuple[str, ...]
}
About "A Concise Dictionary of Old Icelandic"
"A Concise Dictionary of Old Icelandic" dictionary was published in 1910 by Geir Zoëga, which leads to there being many public domain versions of the book available. Zoëgas attempt was to made easier-to-approach version of the more full Cleasby - Vigfusson dictionary, specifically for beginners and those interested in Old Icelandic prose writing.
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-icelandic-dictionary-1.0.2.tar.gz
.
File metadata
- Download URL: old-icelandic-dictionary-1.0.2.tar.gz
- Upload date:
- Size: 1.8 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 | 28416f993a1b95df8833b41ebe787812ade221cd2e04e2ee837e24c31f15e4f6 |
|
MD5 | 21d2444810de3d70de370c62da8bd9eb |
|
BLAKE2b-256 | 6a20a39719441c1e6ea57e71c0e897dc9218c5764df641c852afc7983419869c |
File details
Details for the file old_icelandic_dictionary-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: old_icelandic_dictionary-1.0.2-py3-none-any.whl
- Upload date:
- Size: 1.9 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 | c0768ddc7e68e25d3580c811e55058dcaea6e6f108fa324e56ef7abf381c0655 |
|
MD5 | 11c6457734ecc6cb0aebfcb75571f79b |
|
BLAKE2b-256 | be0bf47eae7cacef54b4943bbc6eca5cc1a594e1067e17973e333d147e63dad6 |