diff --git a/lib/natural/classifiers/bayes_classifier.js b/lib/natural/classifiers/bayes_classifier.js index 59c04249f..e717605cf 100644 --- a/lib/natural/classifiers/bayes_classifier.js +++ b/lib/natural/classifiers/bayes_classifier.js @@ -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(); diff --git a/lib/natural/classifiers/logistic_regression_classifier.js b/lib/natural/classifiers/logistic_regression_classifier.js index d36f49a8a..40c9dd8dd 100644 --- a/lib/natural/classifiers/logistic_regression_classifier.js +++ b/lib/natural/classifiers/logistic_regression_classifier.js @@ -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);