3.0.0 • Published 1 year ago

dictionary-nn v3.0.0

Weekly downloads
4
License
GPL-2.0
Repository
github
Last release
1 year ago

dictionary-nn

Norwegian Nynorsk spelling dictionary.

Contents

What is this?

This is a Norwegian Nynorsk dictionary, generated by wooorm/dictionaries from no.speling.org, normalized and packaged so that it can be installed and used like other dictionaries.

When should I use this?

You can use this package when integrating with tools that perform spell checking (such as nodehun or nspell) or when making such tools.

Install

This package is ESM only. In Node.js (version 16+), install with npm:

npm install dictionary-nn

Use

import nn from 'dictionary-nn'

console.log(nn)
// To do: use `nn` somehow

Yields:

{aff: <Buffer>, dic: <Buffer>}

API

This package exports no identifiers. The default export is a Dictionary.

It exports the TypeScript type Dictionary.

Dictionary

Hunspell dictionary.

Fields
  • aff (Buffer) — data for the affix file (defines the language, keyboard, flags, and more)
  • dic (Buffer) — data for the dictionary file (contains words and flags applying to those words)

Examples

See the monorepo readme for examples.

Compatibility

This projects is compatible with maintained versions of Node.js.

When we cut a new major release, we drop support for unmaintained versions of Node. This means we try to keep the current release line, compatible with Node.js 12.

Security

This package is safe.

Contribute

See the monorepo readme for how to contribute.

👉 Note: dictionaries are not maintained here. Report spelling problems upstream (no.speling.org).

License

Dictionary and affix file: GPL-2.0. Rest: MIT © Titus Wormer.

3.0.0

1 year ago

2.2.0

3 years ago

2.1.3

5 years ago

2.1.2

5 years ago

2.1.1

6 years ago

2.1.0

7 years ago

2.0.0

7 years ago