0.0.7 • Published 10 years ago

pasquale v0.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

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

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago