Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/varunon9/sentence-type-classifier
- Owner: varunon9
- License: mit
- Created: 2017-08-10T14:06:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-02T08:41:58.000Z (about 4 years ago)
- Last Synced: 2024-10-22T12:23:01.951Z (29 days ago)
- Topics: english-grammar, nlp, nlp-machine-learning, sentence-classification
- Language: JavaScript
- Size: 20.5 KB
- Stars: 18
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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);
```