Skip to content

Commit

Permalink
Merge pull request NaturalNode#233 from mertkahyaoglu/master
Browse files Browse the repository at this point in the history
remove unused PorterStemmers
  • Loading branch information
kkoch986 committed Apr 30, 2015
2 parents 83dc200 + d94863e commit a792545
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions lib/natural/classifiers/bayes_classifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/

var PorterStemmer = require('../stemmers/porter_stemmer'),
util = require('util'),
Classifier = require('./classifier'),
ApparatusBayesClassifier = require('apparatus').BayesClassifier;
var util = require('util'),
Classifier = require('./classifier'),
ApparatusBayesClassifier = require('apparatus').BayesClassifier;

var BayesClassifier = function(stemmer, smoothing) {
var abc = new ApparatusBayesClassifier();
Expand Down
7 changes: 3 additions & 4 deletions lib/natural/classifiers/logistic_regression_classifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/

var PorterStemmer = require('../stemmers/porter_stemmer'),
util = require('util'),
Classifier = require('./classifier'),
ApparatusLogisticRegressionClassifier = require('apparatus').LogisticRegressionClassifier;
var util = require('util'),
Classifier = require('./classifier'),
ApparatusLogisticRegressionClassifier = require('apparatus').LogisticRegressionClassifier;

var LogisticRegressionClassifier = function(stemmer) {
Classifier.call(this, new ApparatusLogisticRegressionClassifier(), stemmer);
Expand Down

0 comments on commit a792545

Please sign in to comment.