Permalink
Browse files

Added a config to the readme to make that a bit clearer

  • Loading branch information...
1 parent 4062244 commit ab7d0b1422955fc9404ebca3c772415e80027345 @tstone committed Jun 24, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 README.md
View
@@ -44,7 +44,10 @@ Once the checker is initialized call the `.check` method.
Example:
var googlespell = require('googlespell');
- var checker = new googlespell.Checker();
+ var checker = new googlespell.Checker({
+ threshold: 1,
+ language: 'en'
+ });
checker.check('This is an exmaple', function(err, result) {
console.log(result);

0 comments on commit ab7d0b1

Please sign in to comment.