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

0.1.0 • Public • Published
Efficient Named-entity Recognition for compromise
npm install compromise-wikipedia

This plugin provides a highly-compressed list of ~38 thousand popular wikipedia articles, and efficiently scans a text for them.

The plugin is approximately 300kb, minified.

Wikipedia

import plg from 'compromise-wikipedia'
nlp.extend(plg)

let doc = nlp('You could always go to McGill, the Harvard of Canada!')
let m = doc.wikipedia()
m.json()
// [...]

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i compromise-wikipedia

Weekly Downloads

40

Version

0.1.0

License

MIT

Unpacked Size

1.69 MB

Total Files

21

Last publish

Collaborators

  • spencermountain