varunon9/sentence-type-classifier
Classify English sentences into assertive, negative, interrogative, imperative and exclamatory based on grammar.
This tool helps content creators, editors, or customer service professionals automatically categorize English sentences. You input an English sentence, and it tells you if it's assertive, negative, interrogative, imperative, or exclamatory. This is useful for anyone who needs to quickly understand or organize text based on its grammatical intent.
No commits in the last 6 months. Available on npm.
Use this if you need to rapidly sort or analyze a collection of English sentences by their grammatical type, such as identifying all questions or commands within a document.
Not ideal if you need to classify sentences based on their semantic meaning, sentiment, or any criteria beyond basic grammatical structure.
Stars
20
Forks
4
Language
JavaScript
License
MIT
Category
Last pushed
Oct 02, 2020
Commits (30d)
0
Dependencies
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/varunon9/sentence-type-classifier"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
spencermountain/compromise
modest natural-language processing
textlint/textlint
textlint is the pluggable linter for natural language text.
ChristianMurphy/classify-poetry
recognize type poetry in a given text excerpt
Planeshifter/text-miner
text mining utilities for Node.js
aholstenson/ecolect-js
Natural language handling for commands and intents