talkify-leveldb-bayes-classifier
v1.0.4
Published
Open Source Bayes with levelDB classifier for Talkify
Downloads
5
Maintainers
Readme
LevelDB Bayes Talkify Classifier
LevelDB based Bayes NLP Classifier implementation for Talkify
Usage
Install the LevelDB Bayes Talkify Classifier:
npm install --save talkify-leveldb-bayes-classifier
Once installed, you can create a new object instance of the classifier like so:
var LBNClassifier = require('talkify-leveldb-bayes-classifier');
var myClassifier = new LBNClassifier();
Pass the myClassifier
object into the Talkify Bot.
var options = {
classifier: myClassifier
};
var bot = new Bot(options);