const Tretas = require('treta');
// if you want to train
const treta = new Tretas();
treta.learn('phrase with treta', 'treta');
treta.learn('another phrase with treta', 'treta');
treta.learn('another other phrase with treta', 'treta');
treta.learn('phrase without treta', 'noTreta');
// for save your train
treta.saveData('data');
// => data.json
// else - use a data.json
treta.loadData('data');
// return if the phrase have or not Treta (treta or noTreta)
treta.analizer('kind of treta');
-
Notifications
You must be signed in to change notification settings - Fork 0
Sentimentals analysis for "treta" with Naive Bayes.
License
fguisso/treta
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Sentimentals analysis for "treta" with Naive Bayes.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published