Open GoPavel opened 5 years ago
I try to use spell-check plugin in Atom with Russian and English languages together, but that views all russian words like miscorrect.
spell-check
I have enough language support:
$ hunspell -D ... AVAILABLE DICTIONARIES (path is not mandatory for -d option): ... /usr/share/myspell/en_US /usr/share/myspell/ru_RU
So I try to run spellchecker standalone and get same resault:
spellchecker
var spellchecker = require('spellchecker'); spellchecker.setDictionary('ru-RU', '/usr/share/myspell'); spellchecker.setDictionary('en-US', '/usr/share/myspell'); console.log(spellchecker.isMisspelled('say')); console.log(spellchecker.isMisspelled('bobz')); console.log(spellchecker.isMisspelled('Привет')); console.log(spellchecker.isMisspelled('Приввет'));
$ node run.js ... false true true true
I think it's bug, but I'm not sure.
I try to use
spell-check
plugin in Atom with Russian and English languages together, but that views all russian words like miscorrect.I have enough language support:
So I try to run
spellchecker
standalone and get same resault:I think it's bug, but I'm not sure.