stscoundrel / old-norwegian-dictionary-go

Old Norwegian/Norse Dictionary for Go. From "Dictionary of the Old Norwegian Language"

Home Page:https://pkg.go.dev/github.com/stscoundrel/old-norwegian-dictionary-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Old Norwegian Dictionary

Old Norwegian/Norse Dictionary for Go. The dictionary consists of 40 000+ Old Norse words with Norwegian translations.

Based on "Dictionary of the Old Norwegian Language". Autogenerated Go package from Old Norwegian Dictionary Builder

Related projects:

Install

go get -d github.com/stscoundrel/old-norwegian-dictionary-go

Usage

package main

import (
    "fmt"

    "github.com/stscoundrel/old-norwegian-dictionary-go/dictionary"
)

func main() {
    // Slice of all dictionary entries.
    const dictionary := dictionary.GetDictionary()
    
    fmt.Println(dictionary[42000])
    // {
	// 	Headword:     "þyrnir",
	// 	PartOfSpeech: "m",
	// 	Definition:   "þyrnir, m. Tjørn, Tornebusk. Stj. 39611;Hom. 10218; Post. 75034; Klm. 54615;Mar. 3378. 10351.",
	// }
}

About "Dictionary of the Old Norwegian Language"

"Ordbog over det gamle norske Sprog" dictionary was published in late 1800s by Johan Fritzner. Its is the largest Old Norse to Norwegian dictionary, containing over 40 000 word definitions. While the original dictionary is called dictionary of "old norwegian", it is practically a dictionary of western Old Norse. Technically "Old Norwegian" would be a later stage in the language.

About

Old Norwegian/Norse Dictionary for Go. From "Dictionary of the Old Norwegian Language"

https://pkg.go.dev/github.com/stscoundrel/old-norwegian-dictionary-go

License:MIT License


Languages

Language:Go 100.0%