diff --git a/SpellChecker/sources/spellCheck.js b/SpellChecker/sources/spellCheck.js index 0b5b5a88..67cb169f 100644 --- a/SpellChecker/sources/spellCheck.js +++ b/SpellChecker/sources/spellCheck.js @@ -13,7 +13,7 @@ var arrDictionaries = {}; for (var indexDict = 0, lengthDict = arrDictionariesConfig.length; indexDict < lengthDict; ++indexDict) { oDictTmp = arrDictionariesConfig[indexDict]; oDictName = oDictTmp.name; - pathTmp = __dirname + '/../Dictionaries/' + oDictName + '/' + oDictName + '.'; + pathTmp = __dirname + '/../dictionaries/' + oDictName + '/' + oDictName + '.'; arrDictionaries[oDictTmp.id] = new nodehun(fs.readFileSync(pathTmp + 'aff'), fs.readFileSync(pathTmp + 'dic')); } })(); @@ -132,4 +132,4 @@ exports.spellSuggest = function (type, word, lang, callbackFunction) { callbackFunction(suggestions); }); } -}; \ No newline at end of file +};