dictionary-el
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

dictionary-el

Greek spelling dictionary.

Contents

What is this?

This is a Greek dictionary, generated by wooorm/dictionaries from stevestavropoulos/elspell, 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-el

Use

import el from 'dictionary-el'

console.log(el)
// To do: use `el` 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 (stevestavropoulos/elspell).

License

Dictionary and affix file: (GPL-2.0 OR LGPL-2.1 OR MPL-1.1). Rest: MIT © Titus Wormer.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.0.049latest

Version History

VersionDownloads (Last 7 Days)Published
4.0.049
3.1.03
3.0.541
3.0.40
3.0.30
3.0.20
3.0.00

Package Sidebar

Install

npm i dictionary-el

Weekly Downloads

93

Version

4.0.0

License

(GPL-2.0 OR LGPL-2.1 OR MPL-1.1)

Unpacked Size

19.4 MB

Total Files

7

Last publish

Collaborators

  • wooorm