wooorm/nspell

Korean language always return true, when using correct function

Opened this issue · 1 comments

var dictionary = require('dictionary-ko');
var nspell = require('nspell');
dictionary(ondictionary);

function ondictionary(err, dict) {
    if (err) {
      throw err
    }
  
    var spell = nspell(dict);
  
    console.log(spell.correct('hello'));
  }
wooorm commented

And what if you don’t use nspell? Or don’t use dictionaries? Have you check with the source? https://github.com/spellcheck-ko/hunspell-dict-ko