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"
- Host: GitHub
- URL: https://github.com/stscoundrel/old-norwegian-dictionary-go
- Owner: stscoundrel
- License: mit
- Created: 2022-04-16T16:14:10.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-06T08:18:09.000Z (over 1 year ago)
- Last Synced: 2025-03-25T07:38:23.252Z (about 2 months ago)
- Topics: dictionary, golang, medieval-languages, medieval-norwegian, medieval-studies, old-icelandic, old-norse, old-norwegian
- Language: Go
- Homepage: https://pkg.go.dev/github.com/stscoundrel/old-norwegian-dictionary-go
- Size: 6.09 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 mainimport (
"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.