derhuerst/nbayes
A Naive Bayes classifier written in JavaScript.
This tool helps you automatically sort short pieces of text into categories you define, such as "spam" or "not spam," or "positive" or "negative" sentiment. You provide example texts for each category, and it learns to classify new, unseen texts. Anyone who needs to quickly sort or tag text-based content without manual review would find this useful.
No commits in the last 6 months. Available on npm.
Use this if you need to categorize documents, emails, social media posts, or customer feedback based on their text content into predefined groups.
Not ideal if your categorization needs involve complex linguistic analysis, require understanding context beyond individual words, or if your text is in languages not easily tokenized or stemmed.
Stars
16
Forks
3
Language
JavaScript
License
ISC
Category
Last pushed
Aug 26, 2022
Commits (30d)
0
Dependencies
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/derhuerst/nbayes"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
hankcs/text-classification-svm
The missing SVM-based text classification module implementing HanLP's interface
ningchaoar/UnsupervisedTextClassification
基于关键词的无监督文本分类;Implementation for paper "Text Classification by Bootstrapping with Keywords, EM...
samitha9125/SinhalaTextClassification
Sinhala Text Classification based on n-grams
qyfang/TextClassification
基于scikit-learn实现对新浪新闻的文本分类,数据集为100w篇文档,总计10类,测试集与训练集1:1划分。分类算法采用SVM和Bayes,其中Bayes作为baseline。
fullstackyang/article-classifier
基于朴素贝叶斯实现的一款微信公众号文章分类器