=?utf-8?q?Old_Swedish_Dictionary_for_Python=2E_From_K=2EF=2E_S=C3=B6derwall=27s_Medieval_Swedish?=
Project description
Old Swedish Dictionary
Old Swedish Dictionary forPython. 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: str
grammatical_aspect: 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.
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
Hashes for old-swedish-dictionary-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | be8605d3250677fdfff9e25ae68c0a28c7d9ff9e9f654017469ca4d768c1308b |
|
MD5 | 703db0ee9afa096559efd9963ed3110f |
|
BLAKE2b-256 | 029f37c4f7737b9175a477132f19726ffd00e4503f717a4fee9a2466529b6191 |
Hashes for old_swedish_dictionary-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcc65d84c061e76ae741bb92ffe7ef851f5fb9fcb25aa5952b452d490115a9d1 |
|
MD5 | 04f98145fc08058695028a44278ac9c7 |
|
BLAKE2b-256 | 317ff877747c01d6fd8fde0771356a92c30dbb67309949a5ac6a73de85d8c053 |