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

1.0.0 • Public • Published

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 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: MIT. Rest: MIT © Titus Wormer.

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i dictionary-ru-petr1708

    Weekly Downloads

    4

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    33.4 MB

    Total Files

    7

    Last publish

    Collaborators

    • noomorph