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

1.0.0 • Public • Published

dictionary-bg-ivanchov

Bulgarian spelling dictionary according to the orthography introduced by Todor Ivanchov in 1899.

What is this?

This is a spelling dictionary of the Bulgarian language in the Ivanchov 1899 orthography. It is based on the extracted Firefox extension provided by Иванчевски Правописъ, 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, nspell) or when making such tools.

Install

In Node.js (version 14.14+, 16+ or 18+), install with npm:

npm install dictionary-bg-ivanchov

Use

import dictionaryBg from 'dictionary-bg-ivanchov'

dictionaryBg(function (error, bg1899) {
  if (error) throw error
  console.log(bg1899)
  // To do: use `bg1899` somehow
})

Yields:

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

Where dic and aff are Buffers for index.dic and index.aff respectively.

Examples

See the monorepo readme for examples.

Types

This package is typed with TypeScript.

Contribute

Please open an issue on GitHub.

License

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

Package Sidebar

Install

npm i dictionary-bg-ivanchov

Weekly Downloads

4

Version

1.0.0

License

GPL-3.0

Unpacked Size

1.75 MB

Total Files

7

Last publish

Collaborators

  • noomorph