compromise-sentences
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published
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

Dependencies (0)

    Dev Dependencies (9)

    Package Sidebar

    Install

    npm i compromise-sentences

    Weekly Downloads

    725

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    62.6 kB

    Total Files

    8

    Last publish

    Collaborators

    • spencermountain