andreekeberg/ml-classify-text-js

Machine learning based text classification in JavaScript using n-grams and cosine similarity

46
/ 100
Emerging

This tool helps you automatically sort short pieces of text into categories, such as "positive" or "negative." You provide examples of text already labeled with their correct categories, and the tool learns from them. Then, when you give it new, unlabeled text, it tells you which category (or categories) it most likely belongs to, along with a confidence score. It's ideal for anyone who needs to quickly tag or route large volumes of short text.

135 stars. No commits in the last 6 months. Available on npm.

Use this if you need to automatically categorize short texts like customer reviews, social media posts, or support tickets based on predefined labels.

Not ideal if you need to classify very long documents or require highly complex, nuanced understanding beyond simple category assignment.

customer-feedback-analysis content-moderation sentiment-analysis information-routing text-tagging
Stale 6m
Maintenance 0 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 11 / 25

How are scores calculated?

Stars

135

Forks

11

Language

JavaScript

License

MIT

Last pushed

Apr 21, 2024

Commits (30d)

0

Dependencies

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/nlp/andreekeberg/ml-classify-text-js"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.