Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

old-norse-dictionary-1.0.0.tar.gz (7.6 MB view hashes)

Uploaded Source

Built Distribution

old_norse_dictionary-1.0.0-py3-none-any.whl (7.6 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page