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 returns true for all words (correct function) #57

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

Korean returns true for all words (correct function) #57

Teessence opened this issue Jul 11, 2023 · 1 comment

Comments

@Teessence
Copy link

For some reason the Korean dictionary always return true when using with nspell.

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
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

@wooorm wooorm closed this as completed Nov 3, 2023
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