1.0.4 • Published 2 years ago

old-norwegian-dictionary v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Old Norwegian Dictionary

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

Based on "Dictionary of the Old Norwegian Language".

Related projects:

Ports in other languages:

Install

yarn add old-norwegian-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 Node.js library, you might want to check Old Norwegian Dictionary Builder

import { getDictionary } from 'old-norwegian-dictionary'

/**
 * Whole dictionary as array
 * contains over 40 000 entries.
 */
const dictionary = getDictionary()


// Filter words starting with letter T
const tWords = dictionary.filter((entry) => entry.word.charAt(0) === 't')

console.log(tWords)

Individual words are returned in format of:

{
    word:         String   // eg. griðabeiðandi
    partOfSpeech: String   // eg. m
    definition:   String   // eg. riðabeiðandi, m. Person som begjærer grið 3. Grág. 30716.
}

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.

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.9.1

2 years ago

0.9.0

2 years ago