Skip to main content

Old Swedish Dictionary

Old Swedish Dictionary for Python. The dictionary consists of 40 000+ Old Swedish words with Swedish translations.

Based on K.F. Söderwall's Medieval Swedish Dictionary

Install

pip install old-swedish-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 Swedish Dictionary Builder

from old_swedish_dictionary.dictionary import get_dictionary

# Whole dictionary of +41 000 entries
dictionary = get_dictionary()

# Dictionaries return entries that consist of headword, part of speech and definition.
print(dictionary[100].headword)           # af bränna
print(dictionary[100].part_of_speech)     # vb
print(dictionary[100].grammatical_aspect) # v.
print(dictionary[100].definitions)        # ["afbränna, genom eld förstöra. hans trähws the af brendhe  [...and more]]

Individual words are returned in named tuple format of:

# For type hint usage
from old_swedish_dictionary.dictionary import DictionaryEntry

{
    headword: str
    part_of_speech: list[str]
    grammatical_aspect: str
    information: str
    definitions: list[str]
    alternative_forms: list[str]
}

About "Dictionary of Old Swedish"

"Ordbok Öfver svenska medeltids-språket" dictionary was published in late 1884—1918 by K.F. Söderwall. Additional supplement to it was published in 1953—1973.

Old Swedish developed from Old East Norse, the eastern dialect of Old Norse, at the end of the Viking Age. Early Old Swedish was spoken from about 1225 until about 1375, and Late Old Swedish was spoken from about 1375 until about 1526.

The original material is licenced under Creative Commons International (CC BY 4.0), made available by University of Gothenburg. The source code for this library is under MIT licence.

Metadata

Release files for old-swedish-dictionary 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for old-swedish-dictionary 1.0.0
File Size Uploaded
old-swedish-dictionary-1.0.0.tar.gz 7.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for old-swedish-dictionary 1.0.0
File Interpreter ABI Platform
old_swedish_dictionary-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.5 MB

Release files / old-swedish-dictionary-1.0.0.tar.gz

Download URL old-swedish-dictionary-1.0.0.tar.gz
Size 7.2 MB
Tags Source
SHA-256 checksum
How to use checksums
20f97ca704093b1f1eaeba7cc7d248c132d82f1d34f6a5a8371c3b0f0f50a935
BLAKE2b-256 checksum
How to use checksums
9f827c361d803b5be2337237f48dcc01908f19c308fb6daa0ae679567bd48857
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / old_swedish_dictionary-1.0.0-py3-none-any.whl

Download URL old_swedish_dictionary-1.0.0-py3-none-any.whl
Size 7.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
5e2a5159b5c794d7381aa014cb873b1ee4b915eed6aef8666c8f51fb326fe6c0
BLAKE2b-256 checksum
How to use checksums
9cc0ebd94a33f9eeea469587d78884fb7140f676727e9ff38bc8265631c788b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page