Skip to content

stscoundrel/old-norwegian-dictionary-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.