An open API service indexing awesome lists of open source software.

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

Old Norwegian/Norse Dictionary for Go. From "Dictionary of the Old Norwegian Language"
https://github.com/stscoundrel/old-norwegian-dictionary-go

dictionary golang medieval-languages medieval-norwegian medieval-studies old-icelandic old-norse old-norwegian

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://github.com/stscoundrel/old-norwegian-dictionary-builder)

Related projects:
- [Old Norwegian Dictionary website in Next.js](https://github.com/stscoundrel/old-norwegian-dictionary-next)
- [Old Norwegian Dictionary for Node.js](https://github.com/stscoundrel/old-norwegian-dictionary)
- [Old Norwegian Dictionary for Python](https://github.com/stscoundrel/old-norwegian-dictionary-py)
- [Old Norwegian Dictionary for Rust](https://github.com/stscoundrel/old-norwegian-dictionary-rs)

## Install

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

## Usage

```go
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.