dictionary-ru-petr1708
v1.0.0
Published
Russian (Petrine 1708 orthography) spelling dictionary
Downloads
7
Maintainers
Readme
dictionary-ru-petr1708
Russian (Petrine 1708 orthography) spelling dictionary.
What is this?
This is a spelling dictionary of the Russian language in the Petrine 1708 orthography. It is based on the package provided by Slavenica, 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-ru-petr1708
Use
import dictionaryRuPetr1708 from 'dictionary-ru-petr1708'
dictionaryRuPetr1708(function (error, ru1708) {
if (error) throw error
console.log(ru1708)
// To do: use `ru1708` 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: MIT. Rest: MIT © Titus Wormer.