Skip to content

Commit

Permalink
Merge pull request #3 from jrsprice/master
Browse files Browse the repository at this point in the history
Fixed ENOENT error with stopwords.json, not found.
  • Loading branch information
afshinm committed Apr 14, 2015
2 parents 5b53611 + acc2db7 commit a9c4217
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions density.js
Expand Up @@ -22,7 +22,7 @@

//default options
this._options = {
stopWordFile: "stopwords.json",
stopWordFile: __dirname + "/stopwords.json",
minKeywordLength: 2,
maxKeywordLength: 50
};
Expand Down Expand Up @@ -238,4 +238,4 @@
return density;
});
}
})();
})();

0 comments on commit a9c4217

Please sign in to comment.