🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More →
Socket
Book a DemoSign in
Socket

pasquale

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pasquale

Checks for spelling errors in a given sentence

latest
Source
npmnpm
Version
0.0.7
Version published
Maintainers
1
Created
Source

pasquale Build Status

Checks for spelling errors in a given sentence (UNDER HEAVY DEV.)

$ npm install --save pasquale   # for your project
$ npm install -g pasquale-cli   # cli version

Check out the cli version.

Usage

pasquale is intended to be used as a module for checking spelling errors. You must, then, provide dicts for this.

For downloading them: $ PASQUALE_PATH/bin/downloader [lang-alias].

pasquale = new Pasquale();
pasquale.setLanguage('en-ca');
pasquale.checkTextSpell('this is greatt').then(function (results) {
	console.log(results);
}, function (err) {
	console.error(err);
});

// [ { word: 'this', correct: true },
//   { word: 'is', correct: true },
//   { word: 'greatt',
//     correct: false,
//     suggestions: [ 'great', 'greats', 'great t', 'Gretta' ] } ]

Languages

Using the default (bower_components/Dictionaries), the supported languages are:

namekey
CatalĆ 
Croatian
Dansk
Deutschde
Deutsch (AT)de-at
Deutsch (CH)de-ch
Deutsch (DE)de-de
Czechcs
Ελληνικά
English (Canadian)en-ca
English (British)en-gb
EspaƱoles
FranƧaisfr
Galego
Italiano
Lietuvių
Magyar
Nederlands
Norwegian (BokmƄl)
Norwegian (Nynorsk)
Română
Polski
PortuguĆŖs (do Brasil)pt-br
PortuguĆŖs (Europeu)pt
Русский
Slovenian
Slovensky
Svenska
Tiįŗæng Việt
Š£ŠŗŃ€Š°Ń—Š½ŃŃŒŠŗŠ°

LICENSE

MIT LICENSE

FAQs

Package last updated on 02 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts