Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/varunon9/sentence-type-classifier

Classify English sentences into assertive, negative, interrogative, imperative and exclamatory based on grammar.
https://github.com/varunon9/sentence-type-classifier

english-grammar nlp nlp-machine-learning sentence-classification

Last synced: 24 days ago
JSON representation

Classify English sentences into assertive, negative, interrogative, imperative and exclamatory based on grammar.

Awesome Lists containing this project

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:

```javascript
var SentenceTypeClassifier = require("sentence-type-classifier");

var classifier = new SentenceTypeClassifier();

var type = classifier.classify("I am a Javascript Developer.");
console.log(type);
```