Socket
Socket
Sign inDemoInstall

compromise-sentences

Package Overview
Dependencies
4
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    compromise-sentences

plugin for nlp-compromise


Version published
Weekly downloads
476
decreased by-41.45%
Maintainers
1
Install size
62.2 kB
Created
Weekly downloads
 

Changelog

Source

0.3.0 - Jan 2015

  • New NER choosing algorithm, better capitalisation logic, consolidated tests

Readme

Source
a plugin for compromise

npm install compromise-sentences
const nlp = require('compromise')
nlp.extend(require('compromise-sentences'))

let doc = nlp('Are you shouting boo, or boo-urns? Booo! I was saying boo-urns.')
doc.sentences().length
// 3

Demo

API

MIT

FAQs

Last updated on 15 Apr 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc