sentence-type-classifier
v2.0.0
Published
Classify English sentences into assertive, negative, interrogative, imperative and exclamatory based on grammar.
Downloads
1,045
Maintainers
Readme
Sentence-type-classifier
Classify English sentences into assertive, negative, interrogative, imperative and exclamatory based on grammar.
How to install
$ npm install sentence-type-classifier
Usage:
var SentenceTypeClassifier = require("sentence-type-classifier");
var classifier = new SentenceTypeClassifier();
var type = classifier.classify("I am a Javascript Developer.");
console.log(type);