diff --git a/density.js b/density.js index 7212c75..fe046bd 100644 --- a/density.js +++ b/density.js @@ -22,7 +22,7 @@ //default options this._options = { - stopWordFile: "stopwords.json", + stopWordFile: __dirname + "/stopwords.json", minKeywordLength: 2, maxKeywordLength: 50 }; @@ -238,4 +238,4 @@ return density; }); } -})(); \ No newline at end of file +})();