Package Exports
- dictionary-bg-ivanchov
- dictionary-bg-ivanchov/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dictionary-bg-ivanchov) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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-ivanchovUse
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.