Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Korean language always return true, when using correct function #50

Open
Teessence opened this issue Jul 11, 2023 · 1 comment
Open

Comments

@Teessence
Copy link

Teessence commented Jul 11, 2023

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'));
  }
@Teessence Teessence changed the title Korean language always return true Korean language always return true, when using correct function Jul 11, 2023
@wooorm
Copy link
Owner

wooorm commented Jul 12, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants