Skip to content
/ treta Public

Sentimentals analysis for "treta" with Naive Bayes.

License

Notifications You must be signed in to change notification settings

fguisso/treta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Treta has been planted!

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');

About

Sentimentals analysis for "treta" with Naive Bayes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published