dictionary-bg-ivanchov
v1.0.0
Published
Bulgarian (Ivanchov 1899 orthography) spelling dictionary
Downloads
15
Maintainers
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-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 Buffer
s 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.