wink-naive-bayes-text-classifier
Advanced tools
Comparing version 1.2.0 to 2.0.0
@@ -36,3 +36,3 @@ # Contributing to Wink | ||
### Linting | ||
Well defined linting rules helps us in making code more consistent and avoid bugs. [ESLint](https://eslint.org) and [JSHint](http://jshint.com/) enforces these rules via their configuration files. These files are in the root of each repository. | ||
Well defined linting rules helps us in making code more consistent and avoid bugs. [ESLint](https://eslint.org) enforces these rules via its configuration file. This file is located in the root of each repository. | ||
@@ -39,0 +39,0 @@ |
{ | ||
"name": "wink-naive-bayes-text-classifier", | ||
"version": "1.2.0", | ||
"version": "2.0.0", | ||
"description": "Configurable Naive Bayes Classifier for text with cross-validation support", | ||
@@ -11,3 +11,5 @@ "keywords": [ | ||
"NLP", | ||
"Natural Language Processing" | ||
"Natural Language Processing", | ||
"AI", | ||
"wink" | ||
], | ||
@@ -28,3 +30,3 @@ "main": "src/wink-naive-bayes-text-classifier.js", | ||
"author": "Sanjaya Kumar Saxena", | ||
"license": "AGPL-3.0-only", | ||
"license": "MIT", | ||
"bugs": { | ||
@@ -39,3 +41,3 @@ "url": "https://github.com/winkjs/wink-naive-bayes-text-classifier/issues" | ||
"docker": "^1.0.0", | ||
"eslint": "^5.6.1", | ||
"eslint": "^5.8.0", | ||
"istanbul": "^1.1.0-alpha.1", | ||
@@ -47,5 +49,6 @@ "jsdoc": "^3.5.5", | ||
"dependencies": { | ||
"wink-helpers": "^1.5.0", | ||
"wink-nlp-utils": "^1.9.1" | ||
} | ||
"wink-helpers": "^2.0.0", | ||
"wink-nlp-utils": "^2.0.0" | ||
}, | ||
"runkitExampleFilename": "./runkit/example.js" | ||
} |
@@ -10,6 +10,4 @@ | ||
Classify text, analyse sentiments, recognize user intents for chatbot using **`wink-naive-bayes-text-classifier`**. It is a part of [wink](http://winkjs.org/) — a growing family of high quality packages for Statistical Analysis, Natural Language Processing and Machine Learning in NodeJS. | ||
Classify text, analyse sentiments, recognize user intents for chatbot using **`wink-naive-bayes-text-classifier`**. It's [API](http://winkjs.org/wink-naive-bayes-text-classifier/NaiveBayesTextClassifier.html) offers a rich set of features: | ||
It's [API](http://winkjs.org/wink-naive-bayes-text-classifier/NaiveBayesTextClassifier.html) offers a rich set of features: | ||
1. Configure text preparation task such as **amplify negation**, **tokenize**, **stem**, **remove stop words**, and **propagate negation** using [wink-nlp-utils](https://www.npmjs.com/package/wink-nlp-utils) or any other package of your choice. | ||
@@ -70,2 +68,4 @@ 2. Configure **Lidstone** or **Lapalce** additive smoothing. | ||
Try [experimenting with this example on Runkit](https://npm.runkit.com/wink-naive-bayes-text-classifier) in the browser. | ||
### Documentation | ||
@@ -77,7 +77,9 @@ Check out the [Naive Bayes Text Classifier](http://winkjs.org/wink-naive-bayes-text-classifier/) API documentation to learn more. | ||
### About wink | ||
[Wink](http://winkjs.org/) is a family of open source packages for **Statistical Analysis**, **Natural Language Processing** and **Machine Learning** in NodeJS. The code is **thoroughly documented** for easy human comprehension and has a **test coverage of ~100%** for reliability to build production grade solutions. | ||
### Copyright & License | ||
**wink-naive-bayes-text-classifier** is copyright 2017-18 [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. | ||
It is licensed under the terms of the MIT License. |
@@ -5,20 +5,23 @@ // wink-naive-bayes-text-classifier | ||
// | ||
// Copyright (C) 2017 GRAYPE Systems Private Limited | ||
// Copyright (C) 2017-18 GRAYPE Systems Private Limited | ||
// | ||
// This file is part of “wink-naive-bayes-text-classifier”. | ||
// | ||
// “wink-naive-bayes-text-classifier” is free software: you can redistribute it | ||
// and/or modify it under the terms of the GNU Affero | ||
// General Public License as published by the Free | ||
// Software Foundation, version 3 of the License. | ||
// Permission is hereby granted, free of charge, to any person obtaining a | ||
// copy of this software and associated documentation files (the "Software"), | ||
// to deal in the Software without restriction, including without limitation | ||
// the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
// and/or sell copies of the Software, and to permit persons to whom the | ||
// Software is furnished to do so, subject to the following conditions: | ||
// | ||
// “wink-naive-bayes-text-classifier” is distributed in the hope that it will | ||
// be useful, but WITHOUT ANY WARRANTY; without even | ||
// the implied warranty of MERCHANTABILITY or FITNESS | ||
// FOR A PARTICULAR PURPOSE. See the GNU Affero General | ||
// Public License for more details. | ||
// The above copyright notice and this permission notice shall be included | ||
// in all copies or substantial portions of the Software. | ||
// | ||
// You should have received a copy of the GNU Affero | ||
// General Public License along with “wink-naive-bayes-text-classifier”. | ||
// If not, see <http://www.gnu.org/licenses/>. | ||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | ||
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
// DEALINGS IN THE SOFTWARE. | ||
@@ -25,0 +28,0 @@ // |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
8
0
100
821
83
47913
+ Addedemoji-regex@9.2.2(transitive)
+ Addedwink-distance@2.0.2(transitive)
+ Addedwink-eng-lite-web-model@1.8.0(transitive)
+ Addedwink-helpers@2.0.0(transitive)
+ Addedwink-jaro-distance@2.0.0(transitive)
+ Addedwink-nlp@1.14.3(transitive)
+ Addedwink-nlp-utils@2.1.0(transitive)
+ Addedwink-porter2-stemmer@2.0.1(transitive)
+ Addedwink-tokenizer@5.3.0(transitive)
- Removedwink-helpers@1.5.0(transitive)
- Removedwink-nlp-utils@1.9.1(transitive)
- Removedwink-porter2-stemmer@1.0.8(transitive)
- Removedwink-tokenizer@4.1.0(transitive)
Updatedwink-helpers@^2.0.0
Updatedwink-nlp-utils@^2.0.0