wink-naive-bayes-text-classifier
Advanced tools
Comparing version 1.1.3 to 1.1.4
{ | ||
"name": "wink-naive-bayes-text-classifier", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Configurable Naive Bayes Classifier for text with cross-validation support", | ||
@@ -33,15 +33,15 @@ "keywords": [ | ||
"devDependencies": { | ||
"chai": "^4.1.0", | ||
"coveralls": "^2.11.15", | ||
"docco": "^0.7.0", | ||
"eslint": "^4.3.0", | ||
"chai": "^4.1.2", | ||
"coveralls": "^3.0.0", | ||
"docco": "^0.8.0", | ||
"eslint": "^4.13.1", | ||
"istanbul": "^0.4.5", | ||
"jshint": "^2.9.5", | ||
"mocha": "^3.4.2", | ||
"mocha-lcov-reporter": "^1.2.0", | ||
"wink-nlp-utils": "^1.2.1" | ||
"mocha": "^4.0.1", | ||
"mocha-lcov-reporter": "^1.3.0" | ||
}, | ||
"dependencies": { | ||
"wink-helpers": "^1.2.0" | ||
"wink-helpers": "^1.2.0", | ||
"wink-nlp-utils": "^1.7.0" | ||
} | ||
} |
# wink-naive-bayes-text-classifier | ||
> Configurable [Naive Bayes](https://en.wikipedia.org/wiki/Naive_Bayes_classifier) Classifier for text with cross-validation support | ||
Configurable [Naive Bayes](https://en.wikipedia.org/wiki/Naive_Bayes_classifier) Classifier for text with cross-validation support | ||
@@ -22,3 +22,3 @@ ### [![Build Status](https://api.travis-ci.org/winkjs/wink-naive-bayes-text-classifier.svg?branch=master)](https://travis-ci.org/winkjs/wink-naive-bayes-text-classifier) [![Coverage Status](https://coveralls.io/repos/github/winkjs/wink-naive-bayes-text-classifier/badge.svg?branch=master)](https://coveralls.io/github/winkjs/wink-naive-bayes-text-classifier?branch=master) [![Inline docs](http://inch-ci.org/github/winkjs/wink-naive-bayes-text-classifier.svg?branch=master)](http://inch-ci.org/github/winkjs/wink-naive-bayes-text-classifier) [![dependencies Status](https://david-dm.org/winkjs/wink-naive-bayes-text-classifier/status.svg)](https://david-dm.org/winkjs/wink-naive-bayes-text-classifier) [![devDependencies Status](https://david-dm.org/winkjs/wink-naive-bayes-text-classifier/dev-status.svg)](https://david-dm.org/winkjs/wink-naive-bayes-text-classifier?type=dev) | ||
## Installation | ||
Use **[npm](https://www.npmjs.com/package/wink-naive-bayes-text-classifier)** to install: | ||
Use [npm](https://www.npmjs.com/package/wink-naive-bayes-text-classifier) to install: | ||
``` | ||
@@ -29,7 +29,9 @@ npm install wink-naive-bayes-text-classifier --save | ||
## Usage | ||
## Example | ||
```javascript | ||
// Load Naive Bayes Text Classifier | ||
var nbc = require( 'wink-naive-bayes-text-classifier' )(); | ||
var Classifier = require( 'wink-naive-bayes-text-classifier' ); | ||
// Instantiate | ||
var nbc = Classifier(); | ||
// Load NLP utilities | ||
@@ -129,5 +131,5 @@ var nlp = require( 'wink-nlp-utils' ); | ||
## Copyright & License | ||
**wink-naive-bayes-text-classifier** is copyright 2017 GRAYPE Systems Private Limited. | ||
**wink-naive-bayes-text-classifier** is copyright 2017 [GRAYPE Systems Private Limited](http://graype.in/). | ||
It is licensed under the under the terms of the GNU Affero General Public License as published by the Free | ||
Software Foundation, version 3 of the License. |
61973
8
133
2
+ Addedwink-nlp-utils@^1.7.0
+ Addedwink-nlp-utils@1.9.1(transitive)
+ Addedwink-porter2-stemmer@1.0.8(transitive)
+ Addedwink-tokenizer@4.1.0(transitive)